#CDC291#CDC291

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

Color values

HEX#CDC291
RGBrgb(205, 194, 145)
HSLhsl(49, 38%, 69%)
HSVhsv(49, 29%, 80%)
CMYKcmyk(0%, 5.4%, 29.3%, 19.6%)
CIE-LABlab(78.23, -3.68, 26.10)
CIE-LCHlch(78.23, 26.36, 98.03°)
OKLaboklab(81.11% -0.008 0.0657)
OKLCHoklch(81.11% 0.066 97)
XYZxyz(49.5798, 53.6082, 34.5182)
Luminance0.5361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC291 #919CCD
analogous
#CDA491 #CDC291 #BACD91
triadic
#CDC291 #91CDC2 #C291CD
tetradic
#CDC291 #91CDA4 #919CCD #CD91BA
square
#CDC291 #91CDA4 #919CCD #CD91BA
split-complementary
#CDC291 #91BACD #A491CD
monochromatic
#9C8D47 #BAAB67 #CDC291 #E0D9BB #F3F1E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC291#FFFFFF#000000##000000
##CDC2911.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)
#CCBF8E
Deuteranopia (green-blind)
#CFC393
Tritanopia (blue-blind)
#D6BBB5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc291;
/* rgb */ color: rgb(205, 194, 145);
/* oklch */ color: oklch(81.1% 0.066 97.0);
Tailwind
colors: {
  custom: {
    50: '#ddd4b1',
    500: '#cdc291',
    950: '#000000',
  },
}
SCSS
$custom: #cdc291;
$custom-light: #ddd4b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc291",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 145
  },
  "hsl": {
    "h": 49,
    "s": 37.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.81108,
    "c": 0.06614,
    "h": 97
  },
  "luminance": 0.53607
}

Semantic roles & 50–950 ramp

primary
#CDC291
secondary
#606CA2
accent
#4CB035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC291

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

Preview Lab → · Contrast checker → · Palette generator →

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