#CFD04E#CFD04E

#CFD04E is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.3% C 0.150 H 109.7°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#CFD04E
RGBrgb(207, 208, 78)
HSLhsl(60, 58%, 56%)
HSVhsv(60, 63%, 82%)
CMYKcmyk(0.5%, 0%, 62.5%, 18.4%)
CIE-LABlab(81.25, -16.47, 62.21)
CIE-LCHlch(81.25, 64.36, 104.83°)
OKLaboklab(83.27% -0.0505 0.1412)
OKLCHoklch(83.27% 0.15 109.7)
XYZxyz(49.6647, 58.9285, 15.9644)
Luminance0.5893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD04E #4F4ED0
analogous
#D0904E #CFD04E #8ED04E
triadic
#CFD04E #4ECFD0 #D04ECF
tetradic
#CFD04E #4ED090 #4F4ED0 #D04E8E
square
#CFD04E #4ED090 #4F4ED0 #D04E8E
split-complementary
#CFD04E #4E8ED0 #904ED0
monochromatic
#818122 #B1B22F #CFD04E #DCDD7E #E9EAAF

Accessibility & contrast

On white

1.64
#CFD04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#CFD04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD04E
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD04E#FFFFFF#000000##000000
##CFD04E1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83D
Deuteranopia (green-blind)
#E1CC56
Tritanopia (blue-blind)
#DDC4B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfd04e;
/* rgb */ color: rgb(207, 208, 78);
/* oklch */ color: oklch(83.3% 0.150 109.7);
Tailwind
colors: {
  custom: {
    50: '#e1de86',
    500: '#cfd04e',
    950: '#000000',
  },
}
SCSS
$custom: #cfd04e;
$custom-light: #e1de86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd04e",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 78
  },
  "hsl": {
    "h": 60.462,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.8327,
    "c": 0.14999,
    "h": 109.7
  },
  "luminance": 0.58927
}

Semantic roles & 50–950 ramp

primary
#CFD04E
secondary
#3A3A89
accent
#47E148
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD04E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CFD04E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva