#CDC491#CDC491

#CDC491 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.5% C 0.068 H 99.3°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CDC491
RGBrgb(205, 196, 145)
HSLhsl(51, 38%, 69%)
HSVhsv(51, 29%, 80%)
CMYKcmyk(0%, 4.4%, 29.3%, 19.6%)
CIE-LABlab(78.75, -4.72, 26.80)
CIE-LCHlch(78.75, 27.21, 100.00°)
OKLaboklab(81.52% -0.011 0.0673)
OKLCHoklch(81.52% 0.068 99.3)
XYZxyz(50.0280, 54.5044, 34.6676)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC491 #919ACD
analogous
#CDA691 #CDC491 #B8CD91
triadic
#CDC491 #91CDC4 #C491CD
tetradic
#CDC491 #91CDA6 #919ACD #CD91B8
square
#CDC491 #91CDA6 #919ACD #CD91B8
split-complementary
#CDC491 #91B8CD #A691CD
monochromatic
#9C9047 #BAAD67 #CDC491 #E0DBBB #F3F1E5

Accessibility & contrast

On white

1.76
#CDC491 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#CDC491 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC491
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC491#FFFFFF#000000##000000
##CDC4911.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC18E
Deuteranopia (green-blind)
#D1C593
Tritanopia (blue-blind)
#D6BDB6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc491;
/* rgb */ color: rgb(205, 196, 145);
/* oklch */ color: oklch(81.5% 0.068 99.3);
Tailwind
colors: {
  custom: {
    50: '#ddd5b1',
    500: '#cdc491',
    950: '#000000',
  },
}
SCSS
$custom: #cdc491;
$custom-light: #ddd5b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc491",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 145
  },
  "hsl": {
    "h": 51,
    "s": 37.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.81521,
    "c": 0.06822,
    "h": 99.3
  },
  "luminance": 0.54503
}

Semantic roles & 50–950 ramp

primary
#CDC491
secondary
#606AA2
accent
#48B035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC491

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

Preview Lab → · Contrast checker → · Palette generator →

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