#D2BB39#D2BB39

#D2BB39 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.9% C 0.145 H 98.9°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#D2BB39
RGBrgb(210, 187, 57)
HSLhsl(51, 63%, 52%)
HSVhsv(51, 73%, 82%)
CMYKcmyk(0%, 11%, 72.9%, 17.6%)
CIE-LABlab(75.79, -5.67, 64.94)
CIE-LCHlch(75.79, 65.19, 94.99°)
OKLaboklab(78.94% -0.0223 0.1434)
OKLCHoklch(78.94% 0.145 98.9)
XYZxyz(45.0894, 49.5399, 11.0573)
Luminance0.4954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BB39 #3950D2
analogous
#D26E39 #D2BB39 #9DD239
triadic
#D2BB39 #39D2BB #BB39D2
tetradic
#D2BB39 #39D26E #3950D2 #D2399D
square
#D2BB39 #39D26E #3950D2 #D2399D
split-complementary
#D2BB39 #399DD2 #6E39D2
monochromatic
#76681B #A89426 #D2BB39 #DDCC6B #E9DD9D

Accessibility & contrast

On white

1.93
#D2BB39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#D2BB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BB39
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BB39#FFFFFF#000000##000000
##D2BB391.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB623
Deuteranopia (green-blind)
#D4BE41
Tritanopia (blue-blind)
#E2ADA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2bb39;
/* rgb */ color: rgb(210, 187, 57);
/* oklch */ color: oklch(78.9% 0.145 98.9);
Tailwind
colors: {
  custom: {
    50: '#e4cf78',
    500: '#d2bb39',
    950: '#000000',
  },
}
SCSS
$custom: #d2bb39;
$custom-light: #e4cf78;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bb39",
  "rgb": {
    "r": 210,
    "g": 187,
    "b": 57
  },
  "hsl": {
    "h": 50.98,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78935,
    "c": 0.14515,
    "h": 98.9
  },
  "luminance": 0.49538
}

Semantic roles & 50–950 ramp

primary
#D2BB39
secondary
#929CD5
accent
#5AE642
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2BB39

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

Preview Lab → · Contrast checker → · Palette generator →

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