#D2BA3F#D2BA3F

#D2BA3F is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.8% C 0.141 H 97.9°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#D2BA3F
RGBrgb(210, 186, 63)
HSLhsl(50, 62%, 54%)
HSVhsv(50, 70%, 82%)
CMYKcmyk(0%, 11.4%, 70%, 17.6%)
CIE-LABlab(75.56, -4.87, 62.45)
CIE-LCHlch(75.56, 62.64, 94.46°)
OKLaboklab(78.77% -0.0194 0.1393)
OKLCHoklch(78.77% 0.141 97.9)
XYZxyz(45.0366, 49.1806, 11.8222)
Luminance0.4918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BA3F #3F57D2
analogous
#D2703F #D2BA3F #A0D23F
triadic
#D2BA3F #3FD2BA #BA3FD2
tetradic
#D2BA3F #3FD270 #3F57D2 #D23FA0
square
#D2BA3F #3FD270 #3F57D2 #D23FA0
split-complementary
#D2BA3F #3FA0D2 #703FD2
monochromatic
#7A6B1D #AC9628 #D2BA3F #DECC71 #E9DEA2

Accessibility & contrast

On white

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

On black

10.84
#D2BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BA3F
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BA3F#FFFFFF#000000##000000
##D2BA3F1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ba3f;
/* rgb */ color: rgb(210, 186, 63);
/* oklch */ color: oklch(78.8% 0.141 97.9);
Tailwind
colors: {
  custom: {
    50: '#e4ce7b',
    500: '#d2ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #d2ba3f;
$custom-light: #e4ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ba3f",
  "rgb": {
    "r": 210,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 50.204,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78771,
    "c": 0.1406,
    "h": 97.9
  },
  "luminance": 0.49178
}

Semantic roles & 50–950 ramp

primary
#D2BA3F
secondary
#97A1D6
accent
#5DE543
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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