#CDCF95#CDCF95

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

Color values

HEX#CDCF95
RGBrgb(205, 207, 149)
HSLhsl(62, 38%, 70%)
HSVhsv(62, 28%, 81%)
CMYKcmyk(1%, 0%, 28%, 18.8%)
CIE-LABlab(81.72, -9.87, 28.69)
CIE-LCHlch(81.72, 30.34, 108.98°)
OKLaboklab(83.89% -0.0256 0.0719)
OKLCHoklch(83.89% 0.076 109.6)
XYZxyz(52.9145, 59.7754, 37.1782)
Luminance0.5978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF95 #9795CF
analogous
#CFB495 #CDCF95 #B0CF95
triadic
#CDCF95 #95CDCF #CF95CD
tetradic
#CDCF95 #95CFB4 #9795CF #CF95B0
square
#CDCF95 #95CFB4 #9795CF #CF95B0
split-complementary
#CDCF95 #95B0CF #B495CF
monochromatic
#9EA149 #B9BC6B #CDCF95 #E1E2BF #F5F5E9

Accessibility & contrast

On white

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

On black

12.96
#CDCF95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF95
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF95#FFFFFF#000000##000000
##CDCF951.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcf95;
/* rgb */ color: rgb(205, 207, 149);
/* oklch */ color: oklch(83.9% 0.076 109.6);
Tailwind
colors: {
  custom: {
    50: '#ddddb4',
    500: '#cdcf95',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf95;
$custom-light: #ddddb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf95",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 149
  },
  "hsl": {
    "h": 62.069,
    "s": 37.662,
    "l": 69.804
  },
  "oklch": {
    "l": 0.83889,
    "c": 0.07633,
    "h": 109.6
  },
  "luminance": 0.59775
}

Semantic roles & 50–950 ramp

primary
#CDCF95
secondary
#6664A5
accent
#35B139
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCF95

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

Preview Lab → · Contrast checker → · Palette generator →

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