#CDCF92#CDCF92

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

Color values

HEX#CDCF92
RGBrgb(205, 207, 146)
HSLhsl(62, 39%, 69%)
HSVhsv(62, 29%, 81%)
CMYKcmyk(1%, 0%, 29.5%, 18.8%)
CIE-LABlab(81.66, -10.26, 30.18)
CIE-LCHlch(81.66, 31.87, 108.78°)
OKLaboklab(83.83% -0.0268 0.0754)
OKLCHoklch(83.83% 0.08 109.6)
XYZxyz(52.6781, 59.6809, 35.9331)
Luminance0.5968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF92 #9492CF
analogous
#CFB392 #CDCF92 #AFCF92
triadic
#CDCF92 #92CDCF #CF92CD
tetradic
#CDCF92 #92CFB3 #9492CF #CF92AF
square
#CDCF92 #92CFB3 #9492CF #CF92AF
split-complementary
#CDCF92 #92AFCF #B392CF
monochromatic
#9DA047 #BABC68 #CDCF92 #E0E2BC #F4F4E7

Accessibility & contrast

On white

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

On black

12.94
#CDCF92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF92
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF92#FFFFFF#000000##000000
##CDCF921.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9CA8E
Deuteranopia (green-blind)
#D9CC94
Tritanopia (blue-blind)
#D5C8BF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdcf92;
/* rgb */ color: rgb(205, 207, 146);
/* oklch */ color: oklch(83.8% 0.080 109.6);
Tailwind
colors: {
  custom: {
    50: '#ddddb2',
    500: '#cdcf92',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf92;
$custom-light: #ddddb2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf92",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 146
  },
  "hsl": {
    "h": 61.967,
    "s": 38.854,
    "l": 69.216
  },
  "oklch": {
    "l": 0.83831,
    "c": 0.08001,
    "h": 109.6
  },
  "luminance": 0.5968
}

Semantic roles & 50–950 ramp

primary
#CDCF92
secondary
#6361A4
accent
#34B238
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCF92

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

Preview Lab → · Contrast checker → · Palette generator →

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