#CFEB4E

A color in the Yellow, Gold family

#cfeb4e is a color in the Yellow, Gold family: RGB(207, 235, 78), HSL(71°, 80%, 61%), CMYK(12%, 0%, 67%, 8%). Closest named color: greenyellow. Contrast is 1.34:1 on white and 15.65:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cfeb4e
RGBrgb(207 235 78)
RGB (legacy)rgb(207, 235, 78)
RGB %rgb(81% 92% 31%)
HSLhsl(71 80% 61%)
HSV / HSBhsv(71, 67%, 92%)
HWBhwb(71 31% 8%)
CMYKcmyk(12%, 0%, 67%, 8%)
CIELAB (D50)lab(88.88 -24.49 69.12)
LCHlch(88.88 73.33 109.51)
OKLaboklab(0.8913 -0.0869 0.1572)
OKLCHoklch(0.8913 0.1797 118.94)
Decimal13626190

Properties

Color ToneYellow, Gold
Closest named colorgreenyellow ΔE 7
Closest web-safe color#ccff66
Hue71°
Saturation (HSL / HSV)80% / 67%
Lightness (HSL)61%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)82% / 85%
Relative luminance (WCAG)0.7323
Red / Green / Blue207 / 235 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.34:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.65: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 16.7 / -87 · As background with white / black text: Lc -19.1 / 87

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: #cfeb4e;
  --color-brand-oklch: oklch(89.13% 0.1797 118.94);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(207 235 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cfeb4e] text-[#cfeb4e] border-[#cfeb4e]">