#CDC487#CDC487

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

Color values

HEX#CDC487
RGBrgb(205, 196, 135)
HSLhsl(52, 41%, 67%)
HSVhsv(52, 34%, 80%)
CMYKcmyk(0%, 4.4%, 34.1%, 19.6%)
CIE-LABlab(78.58, -5.98, 31.81)
CIE-LCHlch(78.58, 32.37, 100.65°)
OKLaboklab(81.33% -0.0151 0.0789)
OKLCHoklch(81.33% 0.08 100.8)
XYZxyz(49.2905, 54.2095, 30.7839)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC487 #8790CD
analogous
#CDA187 #CDC487 #B3CD87
triadic
#CDC487 #87CDC4 #C487CD
tetradic
#CDC487 #87CDA1 #8790CD #CD87B3
square
#CDC487 #87CDA1 #8790CD #CD87B3
split-complementary
#CDC487 #87B3CD #A187CD
monochromatic
#9A8E40 #BBAF5C #CDC487 #DFD9B2 #F1EEDD

Accessibility & contrast

On white

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

On black

11.84
#CDC487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC487
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC487#FFFFFF#000000##000000
##CDC4871.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC083
Deuteranopia (green-blind)
#D2C489
Tritanopia (blue-blind)
#D7BCB4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc487;
/* rgb */ color: rgb(205, 196, 135);
/* oklch */ color: oklch(81.3% 0.080 100.8);
Tailwind
colors: {
  custom: {
    50: '#ddd5aa',
    500: '#cdc487',
    950: '#000000',
  },
}
SCSS
$custom: #cdc487;
$custom-light: #ddd5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc487",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 135
  },
  "hsl": {
    "h": 52.286,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.81329,
    "c": 0.08034,
    "h": 100.8
  },
  "luminance": 0.54208
}

Semantic roles & 50–950 ramp

primary
#CDC487
secondary
#5862A0
accent
#42B431
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC487

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

Preview Lab → · Contrast checker → · Palette generator →

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