#CDCA92#CDCA92

#CDCA92 is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.8% C 0.074 H 105.3°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#CDCA92
RGBrgb(205, 202, 146)
HSLhsl(57, 37%, 69%)
HSVhsv(57, 29%, 80%)
CMYKcmyk(0%, 1.5%, 28.8%, 19.6%)
CIE-LABlab(80.35, -7.70, 28.41)
CIE-LCHlch(80.35, 29.44, 105.16°)
OKLaboklab(82.79% -0.0195 0.0712)
OKLCHoklch(82.79% 0.074 105.3)
XYZxyz(51.4859, 57.2964, 35.5357)
Luminance0.5730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA92 #9295CD
analogous
#CDAD92 #CDCA92 #B3CD92
triadic
#CDCA92 #92CDCA #CA92CD
tetradic
#CDCA92 #92CDAD #9295CD #CD92B3
square
#CDCA92 #92CDAD #9295CD #CD92B3
split-complementary
#CDCA92 #92B3CD #AD92CD
monochromatic
#9D9848 #BAB668 #CDCA92 #E0DEBC #F3F3E6

Accessibility & contrast

On white

1.69
#CDCA92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#CDCA92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA92
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA92#FFFFFF#000000##000000
##CDCA921.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C68E
Deuteranopia (green-blind)
#D5C994
Tritanopia (blue-blind)
#D6C3BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdca92;
/* rgb */ color: rgb(205, 202, 146);
/* oklch */ color: oklch(82.8% 0.074 105.3);
Tailwind
colors: {
  custom: {
    50: '#dddab2',
    500: '#cdca92',
    950: '#000000',
  },
}
SCSS
$custom: #cdca92;
$custom-light: #dddab2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca92",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 146
  },
  "hsl": {
    "h": 56.949,
    "s": 37.107,
    "l": 68.824
  },
  "oklch": {
    "l": 0.82786,
    "c": 0.07382,
    "h": 105.3
  },
  "luminance": 0.57296
}

Semantic roles & 50–950 ramp

primary
#CDCA92
secondary
#6164A2
accent
#3CB035
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDCA92

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

Preview Lab → · Contrast checker → · Palette generator →

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