#D2B04A#D2B04A

#D2B04A is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.8% C 0.126 H 90.6°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#D2B04A
RGBrgb(210, 176, 74)
HSLhsl(45, 60%, 56%)
HSVhsv(45, 65%, 82%)
CMYKcmyk(0%, 16.2%, 64.8%, 17.6%)
CIE-LABlab(73.06, 0.99, 55.24)
CIE-LCHlch(73.06, 55.25, 88.97°)
OKLaboklab(76.82% -0.0013 0.1258)
OKLCHoklch(76.82% 0.126 90.6)
XYZxyz(43.3419, 45.2492, 12.9283)
Luminance0.4525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B04A #4A6CD2
analogous
#D26C4A #D2B04A #B0D24A
triadic
#D2B04A #4AD2B0 #B04AD2
tetradic
#D2B04A #4AD26C #4A6CD2 #D24AB0
square
#D2B04A #4AD26C #4A6CD2 #D24AB0
split-complementary
#D2B04A #4AB0D2 #6C4AD2
monochromatic
#816920 #B2912C #D2B04A #DEC57B #EADBAC

Accessibility & contrast

On white

2.09
#D2B04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#D2B04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B04A
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B04A#FFFFFF#000000##000000
##D2B04A1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE3E
Deuteranopia (green-blind)
#CBB74F
Tritanopia (blue-blind)
#E2A29A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d2b04a;
/* rgb */ color: rgb(210, 176, 74);
/* oklch */ color: oklch(76.8% 0.126 90.6);
Tailwind
colors: {
  custom: {
    50: '#e3c781',
    500: '#d2b04a',
    950: '#000000',
  },
}
SCSS
$custom: #d2b04a;
$custom-light: #e3c781;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b04a",
  "rgb": {
    "r": 210,
    "g": 176,
    "b": 74
  },
  "hsl": {
    "h": 45,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76816,
    "c": 0.1258,
    "h": 90.6
  },
  "luminance": 0.45247
}

Semantic roles & 50–950 ramp

primary
#D2B04A
secondary
#A0AED8
accent
#6CE344
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B04A

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

Preview Lab → · Contrast checker → · Palette generator →

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