#D2BF39#D2BF39

#D2BF39 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.8% C 0.148 H 101.0°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#D2BF39
RGBrgb(210, 191, 57)
HSLhsl(53, 63%, 52%)
HSVhsv(53, 73%, 82%)
CMYKcmyk(0%, 9%, 72.9%, 17.6%)
CIE-LABlab(76.84, -7.74, 65.95)
CIE-LCHlch(76.84, 66.41, 96.69°)
OKLaboklab(79.77% -0.0282 0.1456)
OKLCHoklch(79.77% 0.148 101)
XYZxyz(45.9498, 51.2608, 11.3441)
Luminance0.5126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BF39 #394CD2
analogous
#D27339 #D2BF39 #99D239
triadic
#D2BF39 #39D2BF #BF39D2
tetradic
#D2BF39 #39D273 #394CD2 #D23999
square
#D2BF39 #39D273 #394CD2 #D23999
split-complementary
#D2BF39 #3999D2 #7339D2
monochromatic
#766B1B #A89826 #D2BF39 #DDCF6B #E9DF9D

Accessibility & contrast

On white

1.87
#D2BF39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#D2BF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BF39
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BF39#FFFFFF#000000##000000
##D2BF391.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B921
Deuteranopia (green-blind)
#D6C142
Tritanopia (blue-blind)
#E2B1A5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2bf39;
/* rgb */ color: rgb(210, 191, 57);
/* oklch */ color: oklch(79.8% 0.148 101.0);
Tailwind
colors: {
  custom: {
    50: '#e4d179',
    500: '#d2bf39',
    950: '#000000',
  },
}
SCSS
$custom: #d2bf39;
$custom-light: #e4d179;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bf39",
  "rgb": {
    "r": 210,
    "g": 191,
    "b": 57
  },
  "hsl": {
    "h": 52.549,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79769,
    "c": 0.14827,
    "h": 101
  },
  "luminance": 0.51259
}

Semantic roles & 50–950 ramp

primary
#D2BF39
secondary
#313B7E
accent
#56E642
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2BF39

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

Preview Lab → · Contrast checker → · Palette generator →

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