#D2B03A#D2B03A

#D2B03A is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.7% C 0.137 H 92.4°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#D2B03A
RGBrgb(210, 176, 58)
HSLhsl(47, 63%, 53%)
HSVhsv(47, 72%, 82%)
CMYKcmyk(0%, 16.2%, 72.4%, 17.6%)
CIE-LABlab(72.93, 0.12, 61.79)
CIE-LCHlch(72.93, 61.79, 89.89°)
OKLaboklab(76.68% -0.0057 0.1369)
OKLCHoklch(76.68% 0.137 92.4)
XYZxyz(42.8697, 45.0603, 10.4417)
Luminance0.4506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B03A #3A5CD2
analogous
#D2643A #D2B03A #A8D23A
triadic
#D2B03A #3AD2B0 #B03AD2
tetradic
#D2B03A #3AD264 #3A5CD2 #D23AA8
square
#D2B03A #3AD264 #3A5CD2 #D23AA8
split-complementary
#D2B03A #3AA8D2 #643AD2
monochromatic
#77621B #A88B26 #D2B03A #DDC46C #E9D89E

Accessibility & contrast

On white

2.10
#D2B03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#D2B03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B03A
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B03A#FFFFFF#000000##000000
##D2B03A1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD28
Deuteranopia (green-blind)
#CCB740
Tritanopia (blue-blind)
#E3A298
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d2b03a;
/* rgb */ color: rgb(210, 176, 58);
/* oklch */ color: oklch(76.7% 0.137 92.4);
Tailwind
colors: {
  custom: {
    50: '#e4c778',
    500: '#d2b03a',
    950: '#000000',
  },
}
SCSS
$custom: #d2b03a;
$custom-light: #e4c778;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b03a",
  "rgb": {
    "r": 210,
    "g": 176,
    "b": 58
  },
  "hsl": {
    "h": 46.579,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76679,
    "c": 0.13704,
    "h": 92.4
  },
  "luminance": 0.45058
}

Semantic roles & 50–950 ramp

primary
#D2B03A
secondary
#93A2D5
accent
#67E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2B03A

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

Preview Lab → · Contrast checker → · Palette generator →

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