#CFCD6F#CFCD6F

#CFCD6F is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.117 H 107.6°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#CFCD6F
RGBrgb(207, 205, 111)
HSLhsl(59, 50%, 62%)
HSVhsv(59, 46%, 81%)
CMYKcmyk(0%, 1%, 46.4%, 18.8%)
CIE-LABlab(80.78, -12.37, 46.75)
CIE-LCHlch(80.78, 48.35, 104.82°)
OKLaboklab(83% -0.0354 0.1116)
OKLCHoklch(83% 0.117 107.6)
XYZxyz(50.4338, 58.0770, 23.5891)
Luminance0.5808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD6F #6F71CF
analogous
#CF9D6F #CFCD6F #A1CF6F
triadic
#CFCD6F #6FCFCD #CD6FCF
tetradic
#CFCD6F #6FCF9D #6F71CF #CF6FA1
square
#CFCD6F #6FCF9D #6F71CF #CF6FA1
split-complementary
#CFCD6F #6FA1CF #9D6FCF
monochromatic
#939131 #C0BD41 #CFCD6F #DEDD9D #EEEDCB

Accessibility & contrast

On white

1.66
#CFCD6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#CFCD6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD6F
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD6F#FFFFFF#000000##000000
##CFCD6F1.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC667
Deuteranopia (green-blind)
#DCCA73
Tritanopia (blue-blind)
#DBC3B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cfcd6f;
/* rgb */ color: rgb(207, 205, 111);
/* oklch */ color: oklch(83.0% 0.117 107.6);
Tailwind
colors: {
  custom: {
    50: '#dfdc9a',
    500: '#cfcd6f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd6f;
$custom-light: #dfdc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd6f",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 111
  },
  "hsl": {
    "h": 58.75,
    "s": 50,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83002,
    "c": 0.11706,
    "h": 107.6
  },
  "luminance": 0.58076
}

Semantic roles & 50–950 ramp

primary
#CFCD6F
secondary
#4A4B99
accent
#2BBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCD6F

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

Preview Lab → · Contrast checker → · Palette generator →

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