#CDCF97#CDCF97

#CDCF97 is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 83.9% C 0.074 H 109.6°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#CDCF97
RGBrgb(205, 207, 151)
HSLhsl(62, 37%, 70%)
HSVhsv(62, 27%, 81%)
CMYKcmyk(1%, 0%, 27.1%, 18.8%)
CIE-LABlab(81.75, -9.60, 27.69)
CIE-LCHlch(81.75, 29.31, 109.12°)
OKLaboklab(83.93% -0.0248 0.0696)
OKLCHoklch(83.93% 0.074 109.6)
XYZxyz(53.0756, 59.8398, 38.0264)
Luminance0.5984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF97 #9997CF
analogous
#CFB597 #CDCF97 #B1CF97
triadic
#CDCF97 #97CDCF #CF97CD
tetradic
#CDCF97 #97CFB5 #9997CF #CF97B1
square
#CDCF97 #97CFB5 #9997CF #CF97B1
split-complementary
#CDCF97 #97B1CF #B597CF
monochromatic
#9EA14A #B9BC6D #CDCF97 #E1E2C1 #F5F5EA

Accessibility & contrast

On white

1.62
#CDCF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#CDCF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF97
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF97#FFFFFF#000000##000000
##CDCF971.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA93
Deuteranopia (green-blind)
#D9CC99
Tritanopia (blue-blind)
#D5C8C0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdcf97;
/* rgb */ color: rgb(205, 207, 151);
/* oklch */ color: oklch(83.9% 0.074 109.6);
Tailwind
colors: {
  custom: {
    50: '#ddddb6',
    500: '#cdcf97',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf97;
$custom-light: #ddddb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf97",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 151
  },
  "hsl": {
    "h": 62.143,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.83928,
    "c": 0.07386,
    "h": 109.6
  },
  "luminance": 0.59839
}

Semantic roles & 50–950 ramp

primary
#CDCF97
secondary
#6866A5
accent
#36B03A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCF97

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

Preview Lab → · Contrast checker → · Palette generator →

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