#D2CB50#D2CB50

#D2CB50 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.5% C 0.143 H 106.0°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#D2CB50
RGBrgb(210, 203, 80)
HSLhsl(57, 59%, 57%)
HSVhsv(57, 62%, 82%)
CMYKcmyk(0%, 3.3%, 61.9%, 17.6%)
CIE-LABlab(80.18, -12.59, 60.31)
CIE-LCHlch(80.18, 61.61, 101.79°)
OKLaboklab(82.48% -0.0395 0.1374)
OKLCHoklch(82.48% 0.143 106)
XYZxyz(49.3840, 56.9943, 15.9875)
Luminance0.5699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB50 #5057D2
analogous
#D28A50 #D2CB50 #98D250
triadic
#D2CB50 #50D2CB #CB50D2
tetradic
#D2CB50 #50D28A #5057D2 #D25098
square
#D2CB50 #50D28A #5057D2 #D25098
split-complementary
#D2CB50 #5098D2 #8A50D2
monochromatic
#858022 #B6AF2F #D2CB50 #DFD981 #EBE8B1

Accessibility & contrast

On white

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

On black

12.40
#D2CB50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB50
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB50#FFFFFF#000000##000000
##D2CB501.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC441
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#E0BEB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cb50;
/* rgb */ color: rgb(210, 203, 80);
/* oklch */ color: oklch(82.5% 0.143 106.0);
Tailwind
colors: {
  custom: {
    50: '#e3da86',
    500: '#d2cb50',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb50;
$custom-light: #e3da86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb50",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 80
  },
  "hsl": {
    "h": 56.769,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82477,
    "c": 0.14297,
    "h": 106
  },
  "luminance": 0.56993
}

Semantic roles & 50–950 ramp

primary
#D2CB50
secondary
#3A3F8C
accent
#4EE246
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CB50

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

Preview Lab → · Contrast checker → · Palette generator →

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