#D3B02F#D3B02F

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

Color values

HEX#D3B02F
RGBrgb(211, 176, 47)
HSLhsl(47, 65%, 51%)
HSVhsv(47, 78%, 83%)
CMYKcmyk(0%, 16.6%, 77.7%, 17.3%)
CIE-LABlab(72.96, 0.09, 65.83)
CIE-LCHlch(72.96, 65.83, 89.92°)
OKLaboklab(76.71% -0.007 0.1433)
OKLCHoklch(76.71% 0.143 92.8)
XYZxyz(42.9049, 45.1074, 9.1355)
Luminance0.4511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B02F #2F52D3
analogous
#D35E2F #D3B02F #A4D32F
triadic
#D3B02F #2FD3B0 #B02FD3
tetradic
#D3B02F #2FD35E #2F52D3 #D32FA4
square
#D3B02F #2FD35E #2F52D3 #D32FA4
split-complementary
#D3B02F #2FA4D3 #5E2FD3
monochromatic
#705D18 #A28722 #D3B02F #DEC362 #E8D694

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3B02F#FFFFFF#000000##000000
##D3B02F1.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)
#C4AD13
Deuteranopia (green-blind)
#CCB737
Tritanopia (blue-blind)
#E4A198
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d3b02f;
/* rgb */ color: rgb(211, 176, 47);
/* oklch */ color: oklch(76.7% 0.143 92.8);
Tailwind
colors: {
  custom: {
    50: '#e5c772',
    500: '#d3b02f',
    950: '#000000',
  },
}
SCSS
$custom: #d3b02f;
$custom-light: #e5c772;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b02f",
  "rgb": {
    "r": 211,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 47.195,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76705,
    "c": 0.14348,
    "h": 92.8
  },
  "luminance": 0.45105
}

Semantic roles & 50–950 ramp

primary
#D3B02F
secondary
#8A9AD3
accent
#64E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171308
muted
#85827B

Preview Lab

Preview with #D3B02F

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

Preview Lab → · Contrast checker → · Palette generator →

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