#CFD04A#CFD04A

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

Color values

HEX#CFD04A
RGBrgb(207, 208, 74)
HSLhsl(60, 59%, 55%)
HSVhsv(60, 64%, 82%)
CMYKcmyk(0.5%, 0%, 64.4%, 18.4%)
CIE-LABlab(81.22, -16.71, 63.80)
CIE-LCHlch(81.22, 65.95, 104.68°)
OKLaboklab(83.24% -0.0516 0.144)
OKLCHoklch(83.24% 0.153 109.7)
XYZxyz(49.5256, 58.8729, 15.2320)
Luminance0.5887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD04A #4B4AD0
analogous
#D08E4A #CFD04A #8CD04A
triadic
#CFD04A #4ACFD0 #D04ACF
tetradic
#CFD04A #4AD08E #4B4AD0 #D04A8C
square
#CFD04A #4AD08E #4B4AD0 #D04A8C
split-complementary
#CFD04A #4A8CD0 #8E4AD0
monochromatic
#7E7F21 #AEAF2E #CFD04A #DCDD7B #E9E9AB

Accessibility & contrast

On white

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

On black

12.77
#CFD04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD04A
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD04A#FFFFFF#000000##000000
##CFD04A1.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C738
Deuteranopia (green-blind)
#E1CC53
Tritanopia (blue-blind)
#DDC3B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfd04a;
/* rgb */ color: rgb(207, 208, 74);
/* oklch */ color: oklch(83.2% 0.153 109.7);
Tailwind
colors: {
  custom: {
    50: '#e1de83',
    500: '#cfd04a',
    950: '#000000',
  },
}
SCSS
$custom: #cfd04a;
$custom-light: #e1de83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd04a",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 74
  },
  "hsl": {
    "h": 60.448,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83236,
    "c": 0.15295,
    "h": 109.7
  },
  "luminance": 0.58872
}

Semantic roles & 50–950 ramp

primary
#CFD04A
secondary
#393886
accent
#46E247
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD04A

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

Preview Lab → · Contrast checker → · Palette generator →

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