#CDC588#CDC588

#CDC588 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.6% C 0.080 H 101.6°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CDC588
RGBrgb(205, 197, 136)
HSLhsl(53, 41%, 67%)
HSVhsv(53, 34%, 80%)
CMYKcmyk(0%, 3.9%, 33.7%, 19.6%)
CIE-LABlab(78.86, -6.38, 31.66)
CIE-LCHlch(78.86, 32.29, 101.39°)
OKLaboklab(81.56% -0.0162 0.0786)
OKLCHoklch(81.56% 0.08 101.6)
XYZxyz(49.5876, 54.6904, 31.2319)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC588 #8890CD
analogous
#CDA388 #CDC588 #B3CD88
triadic
#CDC588 #88CDC5 #C588CD
tetradic
#CDC588 #88CDA3 #8890CD #CD88B3
square
#CDC588 #88CDA3 #8890CD #CD88B3
split-complementary
#CDC588 #88B3CD #A388CD
monochromatic
#9A9041 #BBB05D #CDC588 #DFDAB3 #F1EFDE

Accessibility & contrast

On white

1.76
#CDC588 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#CDC588 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC588
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC588#FFFFFF#000000##000000
##CDC5881.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C184
Deuteranopia (green-blind)
#D3C58A
Tritanopia (blue-blind)
#D7BDB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc588;
/* rgb */ color: rgb(205, 197, 136);
/* oklch */ color: oklch(81.6% 0.080 101.6);
Tailwind
colors: {
  custom: {
    50: '#ddd6ab',
    500: '#cdc588',
    950: '#000000',
  },
}
SCSS
$custom: #cdc588;
$custom-light: #ddd6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc588",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 136
  },
  "hsl": {
    "h": 53.043,
    "s": 40.828,
    "l": 66.863
  },
  "oklch": {
    "l": 0.81556,
    "c": 0.08023,
    "h": 101.6
  },
  "luminance": 0.54689
}

Semantic roles & 50–950 ramp

primary
#CDC588
secondary
#5961A0
accent
#41B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC588

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

Preview Lab → · Contrast checker → · Palette generator →

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