#CDC992#CDC992

#CDC992 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.6% C 0.073 H 104.4°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#CDC992
RGBrgb(205, 201, 146)
HSLhsl(56, 37%, 69%)
HSVhsv(56, 29%, 80%)
CMYKcmyk(0%, 2%, 28.8%, 19.6%)
CIE-LABlab(80.08, -7.18, 28.06)
CIE-LCHlch(80.08, 28.97, 104.36°)
OKLaboklab(82.58% -0.018 0.0704)
OKLCHoklch(82.58% 0.073 104.4)
XYZxyz(51.2520, 56.8287, 35.4577)
Luminance0.5683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC992 #9296CD
analogous
#CDAC92 #CDC992 #B4CD92
triadic
#CDC992 #92CDC9 #C992CD
tetradic
#CDC992 #92CDAC #9296CD #CD92B4
square
#CDC992 #92CDAC #9296CD #CD92B4
split-complementary
#CDC992 #92B4CD #AC92CD
monochromatic
#9D9748 #BAB468 #CDC992 #E0DEBC #F3F3E6

Accessibility & contrast

On white

1.70
#CDC992 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#CDC992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC992
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC992#FFFFFF#000000##000000
##CDC9921.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C58E
Deuteranopia (green-blind)
#D4C894
Tritanopia (blue-blind)
#D6C2BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdc992;
/* rgb */ color: rgb(205, 201, 146);
/* oklch */ color: oklch(82.6% 0.073 104.4);
Tailwind
colors: {
  custom: {
    50: '#ddd9b2',
    500: '#cdc992',
    950: '#000000',
  },
}
SCSS
$custom: #cdc992;
$custom-light: #ddd9b2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc992",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 146
  },
  "hsl": {
    "h": 55.932,
    "s": 37.107,
    "l": 68.824
  },
  "oklch": {
    "l": 0.82578,
    "c": 0.07263,
    "h": 104.4
  },
  "luminance": 0.56828
}

Semantic roles & 50–950 ramp

primary
#CDC992
secondary
#6165A2
accent
#3EB035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381

Preview Lab

Preview with #CDC992

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

Preview Lab → · Contrast checker → · Palette generator →

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