#D2B03C#D2B03C

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

Color values

HEX#D2B03C
RGBrgb(210, 176, 60)
HSLhsl(46, 63%, 53%)
HSVhsv(46, 71%, 82%)
CMYKcmyk(0%, 16.2%, 71.4%, 17.6%)
CIE-LABlab(72.95, 0.22, 61.02)
CIE-LCHlch(72.95, 61.02, 89.79°)
OKLaboklab(76.69% -0.0052 0.1357)
OKLCHoklch(76.69% 0.136 92.2)
XYZxyz(42.9216, 45.0811, 10.7149)
Luminance0.4508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B03C #3C5ED2
analogous
#D2653C #D2B03C #A9D23C
triadic
#D2B03C #3CD2B0 #B03CD2
tetradic
#D2B03C #3CD265 #3C5ED2 #D23CA9
square
#D2B03C #3CD265 #3C5ED2 #D23CA9
split-complementary
#D2B03C #3CA9D2 #653CD2
monochromatic
#78631C #AA8C27 #D2B03C #DDC46E #E9D89F

Accessibility & contrast

On white

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

On black

10.02
#D2B03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B03C
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B03C#FFFFFF#000000##000000
##D2B03C1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2B
Deuteranopia (green-blind)
#CBB742
Tritanopia (blue-blind)
#E3A299
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d2b03c;
/* rgb */ color: rgb(210, 176, 60);
/* oklch */ color: oklch(76.7% 0.136 92.2);
Tailwind
colors: {
  custom: {
    50: '#e4c779',
    500: '#d2b03c',
    950: '#000000',
  },
}
SCSS
$custom: #d2b03c;
$custom-light: #e4c779;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b03c",
  "rgb": {
    "r": 210,
    "g": 176,
    "b": 60
  },
  "hsl": {
    "h": 46.4,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76694,
    "c": 0.13576,
    "h": 92.2
  },
  "luminance": 0.45079
}

Semantic roles & 50–950 ramp

primary
#D2B03C
secondary
#94A3D5
accent
#67E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2B03C

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

Preview Lab → · Contrast checker → · Palette generator →

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