#CDC290#CDC290

#CDC290 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.1% C 0.067 H 97.2°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#CDC290
RGBrgb(205, 194, 144)
HSLhsl(49, 38%, 68%)
HSVhsv(49, 30%, 80%)
CMYKcmyk(0%, 5.4%, 29.8%, 19.6%)
CIE-LABlab(78.21, -3.81, 26.60)
CIE-LCHlch(78.21, 26.87, 98.16°)
OKLaboklab(81.09% -0.0084 0.0668)
OKLCHoklch(81.09% 0.067 97.2)
XYZxyz(49.5031, 53.5775, 34.1139)
Luminance0.5358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC290 #909BCD
analogous
#CDA390 #CDC290 #B9CD90
triadic
#CDC290 #90CDC2 #C290CD
tetradic
#CDC290 #90CDA3 #909BCD #CD90B9
square
#CDC290 #90CDA3 #909BCD #CD90B9
split-complementary
#CDC290 #90B9CD #A390CD
monochromatic
#9C8D46 #BAAB66 #CDC290 #E0D9BA #F3F0E4

Accessibility & contrast

On white

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

On black

11.72
#CDC290 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC290
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC290#FFFFFF#000000##000000
##CDC2901.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBF8D
Deuteranopia (green-blind)
#CFC392
Tritanopia (blue-blind)
#D6BBB5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc290;
/* rgb */ color: rgb(205, 194, 144);
/* oklch */ color: oklch(81.1% 0.067 97.2);
Tailwind
colors: {
  custom: {
    50: '#ddd4b1',
    500: '#cdc290',
    950: '#000000',
  },
}
SCSS
$custom: #cdc290;
$custom-light: #ddd4b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc290",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 144
  },
  "hsl": {
    "h": 49.18,
    "s": 37.888,
    "l": 68.431
  },
  "oklch": {
    "l": 0.81088,
    "c": 0.06736,
    "h": 97.2
  },
  "luminance": 0.53576
}

Semantic roles & 50–950 ramp

primary
#CDC290
secondary
#5F6BA2
accent
#4BB135
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC290

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

Preview Lab → · Contrast checker → · Palette generator →

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