#CDC090#CDC090

#CDC090 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.7% C 0.065 H 94.7°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#CDC090
RGBrgb(205, 192, 144)
HSLhsl(47, 38%, 68%)
HSVhsv(47, 30%, 80%)
CMYKcmyk(0%, 6.3%, 29.8%, 19.6%)
CIE-LABlab(77.69, -2.77, 25.90)
CIE-LCHlch(77.69, 26.05, 96.10°)
OKLaboklab(80.68% -0.0054 0.0652)
OKLCHoklch(80.68% 0.065 94.7)
XYZxyz(49.0610, 52.6933, 33.9666)
Luminance0.5269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC090 #909DCD
analogous
#CDA190 #CDC090 #BBCD90
triadic
#CDC090 #90CDC0 #C090CD
tetradic
#CDC090 #90CDA1 #909DCD #CD90BB
square
#CDC090 #90CDA1 #909DCD #CD90BB
split-complementary
#CDC090 #90BBCD #A190CD
monochromatic
#9C8A46 #BAA866 #CDC090 #E0D8BA #F3F0E4

Accessibility & contrast

On white

1.82
#CDC090 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#CDC090 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC090
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC090#FFFFFF#000000##000000
##CDC0901.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABE8D
Deuteranopia (green-blind)
#CEC292
Tritanopia (blue-blind)
#D7B9B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc090;
/* rgb */ color: rgb(205, 192, 144);
/* oklch */ color: oklch(80.7% 0.065 94.7);
Tailwind
colors: {
  custom: {
    50: '#ddd2b1',
    500: '#cdc090',
    950: '#000000',
  },
}
SCSS
$custom: #cdc090;
$custom-light: #ddd2b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc090",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 144
  },
  "hsl": {
    "h": 47.213,
    "s": 37.888,
    "l": 68.431
  },
  "oklch": {
    "l": 0.80677,
    "c": 0.06537,
    "h": 94.7
  },
  "luminance": 0.52692
}

Semantic roles & 50–950 ramp

primary
#CDC090
secondary
#5F6DA2
accent
#4FB135
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC090

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

Preview Lab → · Contrast checker → · Palette generator →

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