#D2B03F#D2B03F

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

Color values

HEX#D2B03F
RGBrgb(210, 176, 63)
HSLhsl(46, 62%, 54%)
HSVhsv(46, 70%, 82%)
CMYKcmyk(0%, 16.2%, 70%, 17.6%)
CIE-LABlab(72.97, 0.37, 59.84)
CIE-LCHlch(72.97, 59.84, 89.65°)
OKLaboklab(76.72% -0.0044 0.1337)
OKLCHoklch(76.72% 0.134 91.9)
XYZxyz(43.0032, 45.1137, 11.1444)
Luminance0.4511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B03F #3F61D2
analogous
#D2663F #D2B03F #ABD23F
triadic
#D2B03F #3FD2B0 #B03FD2
tetradic
#D2B03F #3FD266 #3F61D2 #D23FAB
square
#D2B03F #3FD266 #3F61D2 #D23FAB
split-complementary
#D2B03F #3FABD2 #663FD2
monochromatic
#7A641D #AC8D28 #D2B03F #DEC471 #E9D9A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B03F#FFFFFF#000000##000000
##D2B03F1.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)
#C3AD2F
Deuteranopia (green-blind)
#CBB745
Tritanopia (blue-blind)
#E3A299
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d2b03f;
/* rgb */ color: rgb(210, 176, 63);
/* oklch */ color: oklch(76.7% 0.134 91.9);
Tailwind
colors: {
  custom: {
    50: '#e4c77a',
    500: '#d2b03f',
    950: '#000000',
  },
}
SCSS
$custom: #d2b03f;
$custom-light: #e4c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b03f",
  "rgb": {
    "r": 210,
    "g": 176,
    "b": 63
  },
  "hsl": {
    "h": 46.122,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76718,
    "c": 0.13378,
    "h": 91.9
  },
  "luminance": 0.45111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B03F

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

Preview Lab → · Contrast checker → · Palette generator →

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