#CDCF89#CDCF89

#CDCF89 is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.7% C 0.091 H 109.6°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#CDCF89
RGBrgb(205, 207, 137)
HSLhsl(62, 42%, 67%)
HSVhsv(62, 34%, 81%)
CMYKcmyk(1%, 0%, 33.8%, 18.8%)
CIE-LABlab(81.52, -11.38, 34.62)
CIE-LCHlch(81.52, 36.45, 108.20°)
OKLaboklab(83.67% -0.0305 0.0855)
OKLCHoklch(83.67% 0.091 109.6)
XYZxyz(52.0054, 59.4118, 32.3901)
Luminance0.5941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF89 #8B89CF
analogous
#CFAE89 #CDCF89 #AACF89
triadic
#CDCF89 #89CDCF #CF89CD
tetradic
#CDCF89 #89CFAE #8B89CF #CF89AA
square
#CDCF89 #89CFAE #8B89CF #CF89AA
split-complementary
#CDCF89 #89AACF #AE89CF
monochromatic
#9B9E40 #BBBD5D #CDCF89 #DFE1B5 #F2F2E0

Accessibility & contrast

On white

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

On black

12.88
#CDCF89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF89
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF89#FFFFFF#000000##000000
##CDCF891.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC984
Deuteranopia (green-blind)
#DACC8C
Tritanopia (blue-blind)
#D6C7BD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdcf89;
/* rgb */ color: rgb(205, 207, 137);
/* oklch */ color: oklch(83.7% 0.091 109.6);
Tailwind
colors: {
  custom: {
    50: '#ddddac',
    500: '#cdcf89',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf89;
$custom-light: #ddddac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf89",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 137
  },
  "hsl": {
    "h": 61.714,
    "s": 42.169,
    "l": 67.451
  },
  "oklch": {
    "l": 0.83666,
    "c": 0.0908,
    "h": 109.6
  },
  "luminance": 0.59411
}

Semantic roles & 50–950 ramp

primary
#CDCF89
secondary
#5B59A3
accent
#30B534
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCF89

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

Preview Lab → · Contrast checker → · Palette generator →

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