#CFCC6F#CFCC6F

#CFCC6F is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.116 H 107.0°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#CFCC6F
RGBrgb(207, 204, 111)
HSLhsl(58, 50%, 62%)
HSVhsv(58, 46%, 81%)
CMYKcmyk(0%, 1.4%, 46.4%, 18.8%)
CIE-LABlab(80.52, -11.86, 46.42)
CIE-LCHlch(80.52, 47.91, 104.34°)
OKLaboklab(82.79% -0.034 0.1109)
OKLCHoklch(82.79% 0.116 107)
XYZxyz(50.1953, 57.6001, 23.5096)
Luminance0.5760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC6F #6F72CF
analogous
#CF9C6F #CFCC6F #A2CF6F
triadic
#CFCC6F #6FCFCC #CC6FCF
tetradic
#CFCC6F #6FCF9C #6F72CF #CF6FA2
square
#CFCC6F #6FCF9C #6F72CF #CF6FA2
split-complementary
#CFCC6F #6FA2CF #9C6FCF
monochromatic
#939031 #C0BC41 #CFCC6F #DEDC9D #EEEDCB

Accessibility & contrast

On white

1.68
#CFCC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#CFCC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC6F
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC6F#FFFFFF#000000##000000
##CFCC6F1.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcc6f;
/* rgb */ color: rgb(207, 204, 111);
/* oklch */ color: oklch(82.8% 0.116 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfdb9a',
    500: '#cfcc6f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc6f;
$custom-light: #dfdb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc6f",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 111
  },
  "hsl": {
    "h": 58.125,
    "s": 50,
    "l": 62.353
  },
  "oklch": {
    "l": 0.8279,
    "c": 0.11594,
    "h": 107
  },
  "luminance": 0.57599
}

Semantic roles & 50–950 ramp

primary
#CFCC6F
secondary
#4A4C99
accent
#2DBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFCC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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