#D2CB5E#D2CB5E

#D2CB5E is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.6% C 0.131 H 105.5°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#D2CB5E
RGBrgb(210, 203, 94)
HSLhsl(56, 56%, 60%)
HSVhsv(56, 55%, 82%)
CMYKcmyk(0%, 3.3%, 55.2%, 17.6%)
CIE-LABlab(80.31, -11.60, 54.28)
CIE-LCHlch(80.31, 55.50, 102.06°)
OKLaboklab(82.62% -0.0351 0.1263)
OKLCHoklch(82.62% 0.131 105.5)
XYZxyz(49.9562, 57.2232, 19.0012)
Luminance0.5722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB5E #5E65D2
analogous
#D2915E #D2CB5E #9FD25E
triadic
#D2CB5E #5ED2CB #CB5ED2
tetradic
#D2CB5E #5ED291 #5E65D2 #D25E9F
square
#D2CB5E #5ED291 #5E65D2 #D25E9F
split-complementary
#D2CB5E #5E9FD2 #915ED2
monochromatic
#8E8828 #BEB635 #D2CB5E #DFDA8E #EDEABE

Accessibility & contrast

On white

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

On black

12.44
#D2CB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB5E
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB5E#FFFFFF#000000##000000
##D2CB5E1.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC453
Deuteranopia (green-blind)
#DDCA64
Tritanopia (blue-blind)
#E0BFB3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cb5e;
/* rgb */ color: rgb(210, 203, 94);
/* oklch */ color: oklch(82.6% 0.131 105.5);
Tailwind
colors: {
  custom: {
    50: '#e2da8f',
    500: '#d2cb5e',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb5e;
$custom-light: #e2da8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb5e",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 94
  },
  "hsl": {
    "h": 56.379,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.8262,
    "c": 0.13113,
    "h": 105.5
  },
  "luminance": 0.57222
}

Semantic roles & 50–950 ramp

primary
#D2CB5E
secondary
#404594
accent
#51E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2CB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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