#D2CB59#D2CB59

#D2CB59 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.136 H 105.7°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#D2CB59
RGBrgb(210, 203, 89)
HSLhsl(57, 57%, 59%)
HSVhsv(57, 58%, 82%)
CMYKcmyk(0%, 3.3%, 57.6%, 17.6%)
CIE-LABlab(80.26, -11.97, 56.48)
CIE-LCHlch(80.26, 57.74, 101.97°)
OKLaboklab(82.57% -0.0368 0.1305)
OKLCHoklch(82.57% 0.136 105.7)
XYZxyz(49.7390, 57.1364, 17.8576)
Luminance0.5714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB59 #5960D2
analogous
#D28E59 #D2CB59 #9CD259
triadic
#D2CB59 #59D2CB #CB59D2
tetradic
#D2CB59 #59D28E #5960D2 #D2599C
square
#D2CB59 #59D28E #5960D2 #D2599C
split-complementary
#D2CB59 #599CD2 #8E59D2
monochromatic
#8B8526 #BBB333 #D2CB59 #DFDA89 #ECE9B9

Accessibility & contrast

On white

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

On black

12.43
#D2CB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB59
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB59#FFFFFF#000000##000000
##D2CB591.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44D
Deuteranopia (green-blind)
#DEC95F
Tritanopia (blue-blind)
#E0BFB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cb59;
/* rgb */ color: rgb(210, 203, 89);
/* oklch */ color: oklch(82.6% 0.136 105.7);
Tailwind
colors: {
  custom: {
    50: '#e2da8c',
    500: '#d2cb59',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb59;
$custom-light: #e2da8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb59",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 89
  },
  "hsl": {
    "h": 56.529,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82566,
    "c": 0.13555,
    "h": 105.7
  },
  "luminance": 0.57135
}

Semantic roles & 50–950 ramp

primary
#D2CB59
secondary
#3E4391
accent
#50E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CB59

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

Preview Lab → · Contrast checker → · Palette generator →

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