#CDC389#CDC389

#CDC389 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.2% C 0.077 H 99.6°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#CDC389
RGBrgb(205, 195, 137)
HSLhsl(51, 40%, 67%)
HSVhsv(51, 33%, 80%)
CMYKcmyk(0%, 4.9%, 33.2%, 19.6%)
CIE-LABlab(78.35, -5.22, 30.46)
CIE-LCHlch(78.35, 30.91, 99.72°)
OKLaboklab(81.16% -0.0128 0.0758)
OKLCHoklch(81.16% 0.077 99.6)
XYZxyz(49.2079, 53.8167, 31.4576)
Luminance0.5382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC389 #8993CD
analogous
#CDA189 #CDC389 #B5CD89
triadic
#CDC389 #89CDC3 #C389CD
tetradic
#CDC389 #89CDA1 #8993CD #CD89B5
square
#CDC389 #89CDA1 #8993CD #CD89B5
split-complementary
#CDC389 #89B5CD #A189CD
monochromatic
#9A8D41 #BBAD5E #CDC389 #DFD9B4 #F1EFDF

Accessibility & contrast

On white

1.79
#CDC389 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#CDC389 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC389
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC389#FFFFFF#000000##000000
##CDC3891.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBF85
Deuteranopia (green-blind)
#D1C48B
Tritanopia (blue-blind)
#D7BBB4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc389;
/* rgb */ color: rgb(205, 195, 137);
/* oklch */ color: oklch(81.2% 0.077 99.6);
Tailwind
colors: {
  custom: {
    50: '#ddd5ac',
    500: '#cdc389',
    950: '#000000',
  },
}
SCSS
$custom: #cdc389;
$custom-light: #ddd5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc389",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 137
  },
  "hsl": {
    "h": 51.176,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.81159,
    "c": 0.07689,
    "h": 99.6
  },
  "luminance": 0.53815
}

Semantic roles & 50–950 ramp

primary
#CDC389
secondary
#5A64A1
accent
#45B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC389

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

Preview Lab → · Contrast checker → · Palette generator →

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