#C7F708

A color in the Yellow, Gold family

#c7f708 is a color in the Yellow, Gold family: RGB(199, 247, 8), HSL(72°, 94%, 50%), CMYK(19%, 0%, 97%, 3%). Closest named color: greenyellow. Contrast is 1.25:1 on white and 16.74:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c7f708
RGBrgb(199 247 8)
RGB (legacy)rgb(199, 247, 8)
RGB %rgb(78% 97% 3%)
HSLhsl(72 94% 50%)
HSV / HSBhsv(72, 97%, 97%)
HWBhwb(72 3% 3%)
CMYKcmyk(19%, 0%, 97%, 3%)
CIELAB (D50)lab(91.42 -34.34 86.23)
LCHlch(91.42 92.81 111.71)
OKLaboklab(0.9096 -0.12 0.1863)
OKLCHoklch(0.9096 0.2216 122.78)
Decimal13104904

Properties

Color ToneYellow, Gold
Closest named colorgreenyellow ΔE 3.1
Closest web-safe color#ccff00
Hue72°
Saturation (HSL / HSV)94% / 97%
Lightness (HSL)50%
Brightness or Value (HSV)97%
Luminance (Rec.601 / Rec.709)81% / 86%
Relative luminance (WCAG)0.7868
Red / Green / Blue199 / 247 / 8

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.25:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.74:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 12.4 / -91.6 · As background with white / black text: Lc -14.3 / 91.2

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #c7f708;
  --color-brand-oklch: oklch(90.96% 0.2216 122.78);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(199 247 8 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c7f708] text-[#c7f708] border-[#c7f708]">