#CFD06F#CFD06F

#CFD06F is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.6% C 0.120 H 109.3°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#CFD06F
RGBrgb(207, 208, 111)
HSLhsl(61, 51%, 63%)
HSVhsv(61, 47%, 82%)
CMYKcmyk(0.5%, 0%, 46.6%, 18.4%)
CIE-LABlab(81.58, -13.88, 47.71)
CIE-LCHlch(81.58, 49.69, 106.22°)
OKLaboklab(83.64% -0.0397 0.1137)
OKLCHoklch(83.64% 0.12 109.3)
XYZxyz(51.1583, 59.5260, 23.8306)
Luminance0.5952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD06F #706FD0
analogous
#D0A16F #CFD06F #9ED06F
triadic
#CFD06F #6FCFD0 #D06FCF
tetradic
#CFD06F #6FD0A1 #706FD0 #D06F9E
square
#CFD06F #6FD0A1 #706FD0 #D06F9E
split-complementary
#CFD06F #6F9ED0 #A16FD0
monochromatic
#939430 #C0C141 #CFD06F #DEDF9D #EEEECB

Accessibility & contrast

On white

1.63
#CFD06F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#CFD06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD06F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD06F#FFFFFF#000000##000000
##CFD06F1.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC967
Deuteranopia (green-blind)
#DFCC74
Tritanopia (blue-blind)
#DBC6B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd06f;
/* rgb */ color: rgb(207, 208, 111);
/* oklch */ color: oklch(83.6% 0.120 109.3);
Tailwind
colors: {
  custom: {
    50: '#dfde9a',
    500: '#cfd06f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd06f;
$custom-light: #dfde9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd06f",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 111
  },
  "hsl": {
    "h": 60.619,
    "s": 50.785,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83637,
    "c": 0.12045,
    "h": 109.3
  },
  "luminance": 0.59525
}

Semantic roles & 50–950 ramp

primary
#CFD06F
secondary
#4A499A
accent
#27BE29
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD06F

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

Preview Lab → · Contrast checker → · Palette generator →

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