#CFD04B#CFD04B

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

Color values

HEX#CFD04B
RGBrgb(207, 208, 75)
HSLhsl(60, 59%, 55%)
HSVhsv(60, 64%, 82%)
CMYKcmyk(0.5%, 0%, 63.9%, 18.4%)
CIE-LABlab(81.23, -16.65, 63.41)
CIE-LCHlch(81.23, 65.56, 104.71°)
OKLaboklab(83.24% -0.0513 0.1433)
OKLCHoklch(83.24% 0.152 109.7)
XYZxyz(49.5596, 58.8865, 15.4108)
Luminance0.5888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD04B #4C4BD0
analogous
#D08E4B #CFD04B #8CD04B
triadic
#CFD04B #4BCFD0 #D04BCF
tetradic
#CFD04B #4BD08E #4C4BD0 #D04B8C
square
#CFD04B #4BD08E #4C4BD0 #D04B8C
split-complementary
#CFD04B #4B8CD0 #8E4BD0
monochromatic
#7F7F21 #AFB02E #CFD04B #DCDD7C #E9E9AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD04B#FFFFFF#000000##000000
##CFD04B1.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)
#E0C839
Deuteranopia (green-blind)
#E1CC54
Tritanopia (blue-blind)
#DDC3B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfd04b;
/* rgb */ color: rgb(207, 208, 75);
/* oklch */ color: oklch(83.2% 0.152 109.7);
Tailwind
colors: {
  custom: {
    50: '#e1de84',
    500: '#cfd04b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd04b;
$custom-light: #e1de84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd04b",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 75
  },
  "hsl": {
    "h": 60.451,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83244,
    "c": 0.15223,
    "h": 109.7
  },
  "luminance": 0.58885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFD04B

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

Preview Lab → · Contrast checker → · Palette generator →

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