#D3B02B#D3B02B

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

Color values

HEX#D3B02B
RGBrgb(211, 176, 43)
HSLhsl(48, 66%, 50%)
HSVhsv(48, 80%, 83%)
CMYKcmyk(0%, 16.6%, 79.6%, 17.3%)
CIE-LABlab(72.94, -0.05, 67.11)
CIE-LCHlch(72.94, 67.11, 90.04°)
OKLaboklab(76.68% -0.0078 0.1453)
OKLCHoklch(76.68% 0.145 93.1)
XYZxyz(42.8278, 45.0766, 8.7299)
Luminance0.4507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B02B #2B4ED3
analogous
#D35C2B #D3B02B #A2D32B
triadic
#D3B02B #2BD3B0 #B02BD3
tetradic
#D3B02B #2BD35C #2B4ED3 #D32BA2
square
#D3B02B #2BD35C #2B4ED3 #D32BA2
split-complementary
#D3B02B #2BA2D3 #5C2BD3
monochromatic
#6D5B16 #A08621 #D3B02B #DEC35D #E8D690

Accessibility & contrast

On white

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

On black

10.01
#D3B02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B02B
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B02B#FFFFFF#000000##000000
##D3B02B1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD07
Deuteranopia (green-blind)
#CDB734
Tritanopia (blue-blind)
#E5A197
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d3b02b;
/* rgb */ color: rgb(211, 176, 43);
/* oklch */ color: oklch(76.7% 0.145 93.1);
Tailwind
colors: {
  custom: {
    50: '#e5c770',
    500: '#d3b02b',
    950: '#000000',
  },
}
SCSS
$custom: #d3b02b;
$custom-light: #e5c770;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b02b",
  "rgb": {
    "r": 211,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 47.5,
    "s": 66.142,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76682,
    "c": 0.14546,
    "h": 93.1
  },
  "luminance": 0.45074
}

Semantic roles & 50–950 ramp

primary
#D3B02B
secondary
#8797D3
accent
#62E93F
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171308
muted
#85827B

Preview Lab

Preview with #D3B02B

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

Preview Lab → · Contrast checker → · Palette generator →

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