#CDCF94#CDCF94

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

Color values

HEX#CDCF94
RGBrgb(205, 207, 148)
HSLhsl(62, 38%, 70%)
HSVhsv(62, 29%, 81%)
CMYKcmyk(1%, 0%, 28.5%, 18.8%)
CIE-LABlab(81.70, -10.00, 29.18)
CIE-LCHlch(81.70, 30.85, 108.91°)
OKLaboklab(83.87% -0.026 0.0731)
OKLCHoklch(83.87% 0.078 109.6)
XYZxyz(52.8351, 59.7436, 36.7596)
Luminance0.5974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF94 #9694CF
analogous
#CFB494 #CDCF94 #B0CF94
triadic
#CDCF94 #94CDCF #CF94CD
tetradic
#CDCF94 #94CFB4 #9694CF #CF94B0
square
#CDCF94 #94CFB4 #9694CF #CF94B0
split-complementary
#CDCF94 #94B0CF #B494CF
monochromatic
#9EA148 #B9BC6A #CDCF94 #E1E2BE #F4F5E8

Accessibility & contrast

On white

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

On black

12.95
#CDCF94 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF94
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF94#FFFFFF#000000##000000
##CDCF941.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcf94;
/* rgb */ color: rgb(205, 207, 148);
/* oklch */ color: oklch(83.9% 0.078 109.6);
Tailwind
colors: {
  custom: {
    50: '#ddddb4',
    500: '#cdcf94',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf94;
$custom-light: #ddddb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf94",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 148
  },
  "hsl": {
    "h": 62.034,
    "s": 38.065,
    "l": 69.608
  },
  "oklch": {
    "l": 0.83869,
    "c": 0.07756,
    "h": 109.6
  },
  "luminance": 0.59743
}

Semantic roles & 50–950 ramp

primary
#CDCF94
secondary
#6563A4
accent
#34B139
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCF94

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

Preview Lab → · Contrast checker → · Palette generator →

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