#CFD04D#CFD04D

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

Color values

HEX#CFD04D
RGBrgb(207, 208, 77)
HSLhsl(60, 58%, 56%)
HSVhsv(60, 63%, 82%)
CMYKcmyk(0.5%, 0%, 63%, 18.4%)
CIE-LABlab(81.24, -16.53, 62.62)
CIE-LCHlch(81.24, 64.76, 104.79°)
OKLaboklab(83.26% -0.0508 0.1419)
OKLCHoklch(83.26% 0.151 109.7)
XYZxyz(49.6291, 58.9143, 15.7770)
Luminance0.5891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD04D #4E4DD0
analogous
#D08F4D #CFD04D #8DD04D
triadic
#CFD04D #4DCFD0 #D04DCF
tetradic
#CFD04D #4DD08F #4E4DD0 #D04D8D
square
#CFD04D #4DD08F #4E4DD0 #D04D8D
split-complementary
#CFD04D #4D8DD0 #8F4DD0
monochromatic
#808122 #B0B12F #CFD04D #DCDD7D #E9EAAE

Accessibility & contrast

On white

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

On black

12.78
#CFD04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD04D
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD04D#FFFFFF#000000##000000
##CFD04D1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd04d;
/* rgb */ color: rgb(207, 208, 77);
/* oklch */ color: oklch(83.3% 0.151 109.7);
Tailwind
colors: {
  custom: {
    50: '#e1de85',
    500: '#cfd04d',
    950: '#000000',
  },
}
SCSS
$custom: #cfd04d;
$custom-light: #e1de85;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd04d",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 77
  },
  "hsl": {
    "h": 60.458,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83262,
    "c": 0.15074,
    "h": 109.7
  },
  "luminance": 0.58913
}

Semantic roles & 50–950 ramp

primary
#CFD04D
secondary
#3A3988
accent
#46E148
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD04D

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

Preview Lab → · Contrast checker → · Palette generator →

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