#D2B03E#D2B03E

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

Color values

HEX#D2B03E
RGBrgb(210, 176, 62)
HSLhsl(46, 62%, 53%)
HSVhsv(46, 70%, 82%)
CMYKcmyk(0%, 16.2%, 70.5%, 17.6%)
CIE-LABlab(72.96, 0.32, 60.23)
CIE-LCHlch(72.96, 60.23, 89.70°)
OKLaboklab(76.71% -0.0047 0.1344)
OKLCHoklch(76.71% 0.134 92)
XYZxyz(42.9755, 45.1026, 10.9986)
Luminance0.4510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B03E #3E60D2
analogous
#D2663E #D2B03E #AAD23E
triadic
#D2B03E #3ED2B0 #B03ED2
tetradic
#D2B03E #3ED266 #3E60D2 #D23EAA
square
#D2B03E #3ED266 #3E60D2 #D23EAA
split-complementary
#D2B03E #3EAAD2 #663ED2
monochromatic
#79641C #AB8D28 #D2B03E #DEC470 #E9D9A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B03E#FFFFFF#000000##000000
##D2B03E1.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)
#C3AD2E
Deuteranopia (green-blind)
#CBB744
Tritanopia (blue-blind)
#E3A299
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d2b03e;
/* rgb */ color: rgb(210, 176, 62);
/* oklch */ color: oklch(76.7% 0.134 92.0);
Tailwind
colors: {
  custom: {
    50: '#e4c77a',
    500: '#d2b03e',
    950: '#000000',
  },
}
SCSS
$custom: #d2b03e;
$custom-light: #e4c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b03e",
  "rgb": {
    "r": 210,
    "g": 176,
    "b": 62
  },
  "hsl": {
    "h": 46.216,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7671,
    "c": 0.13445,
    "h": 92
  },
  "luminance": 0.451
}

Semantic roles & 50–950 ramp

primary
#D2B03E
secondary
#96A5D6
accent
#68E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B03E

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

Preview Lab → · Contrast checker → · Palette generator →

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