#CDCD92#CDCD92

#CDCD92 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.4% C 0.077 H 108.0°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#CDCD92
RGBrgb(205, 205, 146)
HSLhsl(60, 37%, 69%)
HSVhsv(60, 29%, 80%)
CMYKcmyk(0%, 0%, 28.8%, 19.6%)
CIE-LABlab(81.14, -9.24, 29.47)
CIE-LCHlch(81.14, 30.89, 107.40°)
OKLaboklab(83.41% -0.0239 0.0737)
OKLCHoklch(83.41% 0.077 108)
XYZxyz(52.1967, 58.7179, 35.7726)
Luminance0.5872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD92 #9292CD
analogous
#CDB092 #CDCD92 #B0CD92
triadic
#CDCD92 #92CDCD #CD92CD
tetradic
#CDCD92 #92CDB0 #9292CD #CD92B0
square
#CDCD92 #92CDB0 #9292CD #CD92B0
split-complementary
#CDCD92 #92B0CD #B092CD
monochromatic
#9D9D48 #BABA68 #CDCD92 #E0E0BC #F3F3E6

Accessibility & contrast

On white

1.65
#CDCD92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#CDCD92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD92
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD92#FFFFFF#000000##000000
##CDCD921.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C88E
Deuteranopia (green-blind)
#D8CB94
Tritanopia (blue-blind)
#D5C6BE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcd92;
/* rgb */ color: rgb(205, 205, 146);
/* oklch */ color: oklch(83.4% 0.077 108.0);
Tailwind
colors: {
  custom: {
    50: '#dddcb2',
    500: '#cdcd92',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd92;
$custom-light: #dddcb2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd92",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 146
  },
  "hsl": {
    "h": 60,
    "s": 37.107,
    "l": 68.824
  },
  "oklch": {
    "l": 0.83412,
    "c": 0.07749,
    "h": 108
  },
  "luminance": 0.58717
}

Semantic roles & 50–950 ramp

primary
#CDCD92
secondary
#6161A2
accent
#35B035
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCD92

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

Preview Lab → · Contrast checker → · Palette generator →

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