#CDC089#CDC089

#CDC089 is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.5% C 0.074 H 96.4°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CDC089
RGBrgb(205, 192, 137)
HSLhsl(49, 40%, 67%)
HSVhsv(49, 33%, 80%)
CMYKcmyk(0%, 6.3%, 33.2%, 19.6%)
CIE-LABlab(77.57, -3.65, 29.42)
CIE-LCHlch(77.57, 29.65, 97.08°)
OKLaboklab(80.54% -0.0083 0.0734)
OKLCHoklch(80.54% 0.074 96.4)
XYZxyz(48.5425, 52.4859, 31.2358)
Luminance0.5249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC089 #8996CD
analogous
#CD9E89 #CDC089 #B8CD89
triadic
#CDC089 #89CDC0 #C089CD
tetradic
#CDC089 #89CD9E #8996CD #CD89B8
square
#CDC089 #89CD9E #8996CD #CD89B8
split-complementary
#CDC089 #89B8CD #9E89CD
monochromatic
#9A8941 #BBA95E #CDC089 #DFD7B4 #F1EEDF

Accessibility & contrast

On white

1.83
#CDC089 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#CDC089 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC089
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC089#FFFFFF#000000##000000
##CDC0891.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBD85
Deuteranopia (green-blind)
#CFC28B
Tritanopia (blue-blind)
#D7B8B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc089;
/* rgb */ color: rgb(205, 192, 137);
/* oklch */ color: oklch(80.5% 0.074 96.4);
Tailwind
colors: {
  custom: {
    50: '#ddd2ac',
    500: '#cdc089',
    950: '#000000',
  },
}
SCSS
$custom: #cdc089;
$custom-light: #ddd2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc089",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 137
  },
  "hsl": {
    "h": 48.529,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.80539,
    "c": 0.07383,
    "h": 96.4
  },
  "luminance": 0.52485
}

Semantic roles & 50–950 ramp

primary
#CDC089
secondary
#5A67A1
accent
#4BB432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC089

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

Preview Lab → · Contrast checker → · Palette generator →

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