#CDC492#CDC492

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

Color values

HEX#CDC492
RGBrgb(205, 196, 146)
HSLhsl(51, 37%, 69%)
HSVhsv(51, 29%, 80%)
CMYKcmyk(0%, 4.4%, 28.8%, 19.6%)
CIE-LABlab(78.77, -4.59, 26.30)
CIE-LCHlch(78.77, 26.70, 99.91°)
OKLaboklab(81.54% -0.0106 0.0662)
OKLCHoklch(81.54% 0.067 99.1)
XYZxyz(50.1054, 54.5354, 35.0755)
Luminance0.5453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC492 #929BCD
analogous
#CDA792 #CDC492 #B9CD92
triadic
#CDC492 #92CDC4 #C492CD
tetradic
#CDC492 #92CDA7 #929BCD #CD92B9
square
#CDC492 #92CDA7 #929BCD #CD92B9
split-complementary
#CDC492 #92B9CD #A792CD
monochromatic
#9D9048 #BAAD68 #CDC492 #E0DBBC #F3F1E6

Accessibility & contrast

On white

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

On black

11.91
#CDC492 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC492
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC492#FFFFFF#000000##000000
##CDC4921.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC18F
Deuteranopia (green-blind)
#D0C594
Tritanopia (blue-blind)
#D6BDB7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc492;
/* rgb */ color: rgb(205, 196, 146);
/* oklch */ color: oklch(81.5% 0.067 99.1);
Tailwind
colors: {
  custom: {
    50: '#ddd5b2',
    500: '#cdc492',
    950: '#000000',
  },
}
SCSS
$custom: #cdc492;
$custom-light: #ddd5b2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc492",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 146
  },
  "hsl": {
    "h": 50.847,
    "s": 37.107,
    "l": 68.824
  },
  "oklch": {
    "l": 0.81541,
    "c": 0.06699,
    "h": 99.1
  },
  "luminance": 0.54534
}

Semantic roles & 50–950 ramp

primary
#CDC492
secondary
#616BA2
accent
#48B035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381

Preview Lab

Preview with #CDC492

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

Preview Lab → · Contrast checker → · Palette generator →

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