#CDC489#CDC489

#CDC489 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.078 H 100.5°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CDC489
RGBrgb(205, 196, 137)
HSLhsl(52, 40%, 67%)
HSVhsv(52, 33%, 80%)
CMYKcmyk(0%, 4.4%, 33.2%, 19.6%)
CIE-LABlab(78.62, -5.74, 30.81)
CIE-LCHlch(78.62, 31.34, 100.55°)
OKLaboklab(81.37% -0.0143 0.0766)
OKLCHoklch(81.37% 0.078 100.5)
XYZxyz(49.4327, 54.2663, 31.5325)
Luminance0.5426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC489 #8992CD
analogous
#CDA289 #CDC489 #B4CD89
triadic
#CDC489 #89CDC4 #C489CD
tetradic
#CDC489 #89CDA2 #8992CD #CD89B4
square
#CDC489 #89CDA2 #8992CD #CD89B4
split-complementary
#CDC489 #89B4CD #A289CD
monochromatic
#9A8E41 #BBAF5E #CDC489 #DFD9B4 #F1EFDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC489#FFFFFF#000000##000000
##CDC4891.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)
#CFC085
Deuteranopia (green-blind)
#D2C48B
Tritanopia (blue-blind)
#D7BCB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc489;
/* rgb */ color: rgb(205, 196, 137);
/* oklch */ color: oklch(81.4% 0.078 100.5);
Tailwind
colors: {
  custom: {
    50: '#ddd5ac',
    500: '#cdc489',
    950: '#000000',
  },
}
SCSS
$custom: #cdc489;
$custom-light: #ddd5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc489",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 137
  },
  "hsl": {
    "h": 52.059,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.81366,
    "c": 0.07795,
    "h": 100.5
  },
  "luminance": 0.54265
}

Semantic roles & 50–950 ramp

primary
#CDC489
secondary
#5A63A1
accent
#43B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC489

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

Preview Lab → · Contrast checker → · Palette generator →

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