#D2BA39#D2BA39

#D2BA39 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.7% C 0.144 H 98.3°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#D2BA39
RGBrgb(210, 186, 57)
HSLhsl(51, 63%, 52%)
HSVhsv(51, 73%, 82%)
CMYKcmyk(0%, 11.4%, 72.9%, 17.6%)
CIE-LABlab(75.52, -5.16, 64.69)
CIE-LCHlch(75.52, 64.89, 94.56°)
OKLaboklab(78.73% -0.0209 0.1429)
OKLCHoklch(78.73% 0.144 98.3)
XYZxyz(44.8780, 49.1171, 10.9868)
Luminance0.4911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BA39 #3951D2
analogous
#D26D39 #D2BA39 #9ED239
triadic
#D2BA39 #39D2BA #BA39D2
tetradic
#D2BA39 #39D26D #3951D2 #D2399E
square
#D2BA39 #39D26D #3951D2 #D2399E
split-complementary
#D2BA39 #399ED2 #6D39D2
monochromatic
#76681B #A89326 #D2BA39 #DDCB6B #E9DD9D

Accessibility & contrast

On white

1.94
#D2BA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#D2BA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BA39
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BA39#FFFFFF#000000##000000
##D2BA391.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB523
Deuteranopia (green-blind)
#D3BE41
Tritanopia (blue-blind)
#E2ACA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d2ba39;
/* rgb */ color: rgb(210, 186, 57);
/* oklch */ color: oklch(78.7% 0.144 98.3);
Tailwind
colors: {
  custom: {
    50: '#e4ce78',
    500: '#d2ba39',
    950: '#000000',
  },
}
SCSS
$custom: #d2ba39;
$custom-light: #e4ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ba39",
  "rgb": {
    "r": 210,
    "g": 186,
    "b": 57
  },
  "hsl": {
    "h": 50.588,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78728,
    "c": 0.14441,
    "h": 98.3
  },
  "luminance": 0.49115
}

Semantic roles & 50–950 ramp

primary
#D2BA39
secondary
#929DD5
accent
#5CE642
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2BA39

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

Preview Lab → · Contrast checker → · Palette generator →

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