#D2CA5B#D2CA5B

#D2CA5B is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.133 H 105.1°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#D2CA5B
RGBrgb(210, 202, 91)
HSLhsl(56, 57%, 59%)
HSVhsv(56, 57%, 82%)
CMYKcmyk(0%, 3.8%, 56.7%, 17.6%)
CIE-LABlab(80.01, -11.32, 55.31)
CIE-LCHlch(80.01, 56.46, 101.57°)
OKLaboklab(82.38% -0.0347 0.1282)
OKLCHoklch(82.38% 0.133 105.1)
XYZxyz(49.5888, 56.6996, 18.2275)
Luminance0.5670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA5B #5B63D2
analogous
#D28F5B #D2CA5B #9FD25B
triadic
#D2CA5B #5BD2CA #CA5BD2
tetradic
#D2CA5B #5BD28F #5B63D2 #D25B9F
square
#D2CA5B #5BD28F #5B63D2 #D25B9F
split-complementary
#D2CA5B #5B9FD2 #8F5BD2
monochromatic
#8C8526 #BCB334 #D2CA5B #DFDA8B #ECE9BB

Accessibility & contrast

On white

1.70
#D2CA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#D2CA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA5B
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA5B#FFFFFF#000000##000000
##D2CA5B1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC34F
Deuteranopia (green-blind)
#DDC961
Tritanopia (blue-blind)
#E0BEB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca5b;
/* rgb */ color: rgb(210, 202, 91);
/* oklch */ color: oklch(82.4% 0.133 105.1);
Tailwind
colors: {
  custom: {
    50: '#e2d98d',
    500: '#d2ca5b',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca5b;
$custom-light: #e2d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca5b",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 55.966,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82377,
    "c": 0.13281,
    "h": 105.1
  },
  "luminance": 0.56698
}

Semantic roles & 50–950 ramp

primary
#D2CA5B
secondary
#3F4592
accent
#52E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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