#CFCC89#CFCC89

#CFCC89 is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.2% C 0.087 H 106.0°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#CFCC89
RGBrgb(207, 204, 137)
HSLhsl(57, 42%, 67%)
HSVhsv(57, 34%, 81%)
CMYKcmyk(0%, 1.4%, 33.8%, 18.8%)
CIE-LABlab(80.88, -9.07, 33.82)
CIE-LCHlch(80.88, 35.02, 105.02°)
OKLaboklab(83.2% -0.0239 0.0837)
OKLCHoklch(83.2% 0.087 106)
XYZxyz(51.8409, 58.2583, 32.1761)
Luminance0.5826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC89 #898CCF
analogous
#CFA989 #CFCC89 #AFCF89
triadic
#CFCC89 #89CFCC #CC89CF
tetradic
#CFCC89 #89CFA9 #898CCF #CF89AF
square
#CFCC89 #89CFA9 #898CCF #CF89AF
split-complementary
#CFCC89 #89AFCF #A989CF
monochromatic
#9E9A40 #BDB95D #CFCC89 #E1DFB5 #F2F2E0

Accessibility & contrast

On white

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

On black

12.65
#CFCC89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC89
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC89#FFFFFF#000000##000000
##CFCC891.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C784
Deuteranopia (green-blind)
#D9CA8C
Tritanopia (blue-blind)
#D9C4BB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcc89;
/* rgb */ color: rgb(207, 204, 137);
/* oklch */ color: oklch(83.2% 0.087 106.0);
Tailwind
colors: {
  custom: {
    50: '#dedbac',
    500: '#cfcc89',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc89;
$custom-light: #dedbac;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc89",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 137
  },
  "hsl": {
    "h": 57.429,
    "s": 42.169,
    "l": 67.451
  },
  "oklch": {
    "l": 0.83201,
    "c": 0.08702,
    "h": 106
  },
  "luminance": 0.58257
}

Semantic roles & 50–950 ramp

primary
#CFCC89
secondary
#595CA3
accent
#36B530
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCC89

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

Preview Lab → · Contrast checker → · Palette generator →

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