#CDC488#CDC488

#CDC488 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.079 H 100.7°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CDC488
RGBrgb(205, 196, 136)
HSLhsl(52, 41%, 67%)
HSVhsv(52, 34%, 80%)
CMYKcmyk(0%, 4.4%, 33.7%, 19.6%)
CIE-LABlab(78.60, -5.86, 31.31)
CIE-LCHlch(78.60, 31.85, 100.60°)
OKLaboklab(81.35% -0.0147 0.0778)
OKLCHoklch(81.35% 0.079 100.7)
XYZxyz(49.3613, 54.2378, 31.1565)
Luminance0.5424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC488 #8891CD
analogous
#CDA288 #CDC488 #B4CD88
triadic
#CDC488 #88CDC4 #C488CD
tetradic
#CDC488 #88CDA2 #8891CD #CD88B4
square
#CDC488 #88CDA2 #8891CD #CD88B4
split-complementary
#CDC488 #88B4CD #A288CD
monochromatic
#9A8E41 #BBAF5D #CDC488 #DFD9B3 #F1EFDE

Accessibility & contrast

On white

1.77
#CDC488 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CDC488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC488
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC488#FFFFFF#000000##000000
##CDC4881.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC084
Deuteranopia (green-blind)
#D2C48A
Tritanopia (blue-blind)
#D7BCB5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc488;
/* rgb */ color: rgb(205, 196, 136);
/* oklch */ color: oklch(81.3% 0.079 100.7);
Tailwind
colors: {
  custom: {
    50: '#ddd5ab',
    500: '#cdc488',
    950: '#000000',
  },
}
SCSS
$custom: #cdc488;
$custom-light: #ddd5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc488",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 136
  },
  "hsl": {
    "h": 52.174,
    "s": 40.828,
    "l": 66.863
  },
  "oklch": {
    "l": 0.81348,
    "c": 0.07915,
    "h": 100.7
  },
  "luminance": 0.54237
}

Semantic roles & 50–950 ramp

primary
#CDC488
secondary
#5962A0
accent
#43B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC488

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

Preview Lab → · Contrast checker → · Palette generator →

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