#D2BA3A#D2BA3A

#D2BA3A 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.83:1 contrast (WCAG AA passes).

Color values

HEX#D2BA3A
RGBrgb(210, 186, 58)
HSLhsl(51, 63%, 53%)
HSVhsv(51, 72%, 82%)
CMYKcmyk(0%, 11.4%, 72.4%, 17.6%)
CIE-LABlab(75.53, -5.11, 64.33)
CIE-LCHlch(75.53, 64.53, 94.54°)
OKLaboklab(78.73% -0.0206 0.1423)
OKLCHoklch(78.73% 0.144 98.3)
XYZxyz(44.9032, 49.1272, 11.1195)
Luminance0.4913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BA3A #3A52D2
analogous
#D26E3A #D2BA3A #9ED23A
triadic
#D2BA3A #3AD2BA #BA3AD2
tetradic
#D2BA3A #3AD26E #3A52D2 #D23A9E
square
#D2BA3A #3AD26E #3A52D2 #D23A9E
split-complementary
#D2BA3A #3A9ED2 #6E3AD2
monochromatic
#77681B #A89426 #D2BA3A #DDCB6C #E9DD9E

Accessibility & contrast

On white

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

On black

10.83
#D2BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BA3A
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BA3A#FFFFFF#000000##000000
##D2BA3A1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ba3a;
/* rgb */ color: rgb(210, 186, 58);
/* oklch */ color: oklch(78.7% 0.144 98.3);
Tailwind
colors: {
  custom: {
    50: '#e4ce79',
    500: '#d2ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #d2ba3a;
$custom-light: #e4ce79;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ba3a",
  "rgb": {
    "r": 210,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 50.526,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78734,
    "c": 0.14379,
    "h": 98.3
  },
  "luminance": 0.49125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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