#CDCC92#CDCC92

#CDCC92 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.2% C 0.076 H 107.1°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#CDCC92
RGBrgb(205, 204, 146)
HSLhsl(59, 37%, 69%)
HSVhsv(59, 29%, 80%)
CMYKcmyk(0%, 0.5%, 28.8%, 19.6%)
CIE-LABlab(80.87, -8.73, 29.12)
CIE-LCHlch(80.87, 30.40, 106.68°)
OKLaboklab(83.2% -0.0224 0.0729)
OKLCHoklch(83.2% 0.076 107.1)
XYZxyz(51.9582, 58.2410, 35.6931)
Luminance0.5824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC92 #9293CD
analogous
#CDAF92 #CDCC92 #B1CD92
triadic
#CDCC92 #92CDCC #CC92CD
tetradic
#CDCC92 #92CDAF #9293CD #CD92B1
square
#CDCC92 #92CDAF #9293CD #CD92B1
split-complementary
#CDCC92 #92B1CD #AF92CD
monochromatic
#9D9B48 #BAB868 #CDCC92 #E0E0BC #F3F3E6

Accessibility & contrast

On white

1.66
#CDCC92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#CDCC92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC92
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC92#FFFFFF#000000##000000
##CDCC921.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C78E
Deuteranopia (green-blind)
#D7CA94
Tritanopia (blue-blind)
#D5C5BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcc92;
/* rgb */ color: rgb(205, 204, 146);
/* oklch */ color: oklch(83.2% 0.076 107.1);
Tailwind
colors: {
  custom: {
    50: '#dddbb2',
    500: '#cdcc92',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc92;
$custom-light: #dddbb2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc92",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 146
  },
  "hsl": {
    "h": 58.983,
    "s": 37.107,
    "l": 68.824
  },
  "oklch": {
    "l": 0.83203,
    "c": 0.07625,
    "h": 107.1
  },
  "luminance": 0.5824
}

Semantic roles & 50–950 ramp

primary
#CDCC92
secondary
#6162A2
accent
#38B035
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCC92

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

Preview Lab → · Contrast checker → · Palette generator →

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