#D2B03D#D2B03D

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

Color values

HEX#D2B03D
RGBrgb(210, 176, 61)
HSLhsl(46, 62%, 53%)
HSVhsv(46, 71%, 82%)
CMYKcmyk(0%, 16.2%, 71%, 17.6%)
CIE-LABlab(72.95, 0.27, 60.63)
CIE-LCHlch(72.95, 60.63, 89.75°)
OKLaboklab(76.7% -0.005 0.135)
OKLCHoklch(76.7% 0.135 92.1)
XYZxyz(42.9483, 45.0917, 10.8554)
Luminance0.4509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B03D #3D5FD2
analogous
#D2653D #D2B03D #A9D23D
triadic
#D2B03D #3DD2B0 #B03DD2
tetradic
#D2B03D #3DD265 #3D5FD2 #D23DA9
square
#D2B03D #3DD265 #3D5FD2 #D23DA9
split-complementary
#D2B03D #3DA9D2 #653DD2
monochromatic
#79631C #AA8C28 #D2B03D #DEC46F #E9D8A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B03D#FFFFFF#000000##000000
##D2B03D1.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)
#C3AD2C
Deuteranopia (green-blind)
#CBB743
Tritanopia (blue-blind)
#E3A299
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d2b03d;
/* rgb */ color: rgb(210, 176, 61);
/* oklch */ color: oklch(76.7% 0.135 92.1);
Tailwind
colors: {
  custom: {
    50: '#e4c779',
    500: '#d2b03d',
    950: '#000000',
  },
}
SCSS
$custom: #d2b03d;
$custom-light: #e4c779;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b03d",
  "rgb": {
    "r": 210,
    "g": 176,
    "b": 61
  },
  "hsl": {
    "h": 46.309,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76702,
    "c": 0.13511,
    "h": 92.1
  },
  "luminance": 0.45089
}

Semantic roles & 50–950 ramp

primary
#D2B03D
secondary
#95A4D6
accent
#68E542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2B03D

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

Preview Lab → · Contrast checker → · Palette generator →

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