#D4B03B#D4B03B

#D4B03B is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.9% C 0.137 H 91.3°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#D4B03B
RGBrgb(212, 176, 59)
HSLhsl(46, 64%, 53%)
HSVhsv(46, 72%, 83%)
CMYKcmyk(0%, 17%, 72.2%, 16.9%)
CIE-LABlab(73.13, 1.03, 61.66)
CIE-LCHlch(73.13, 61.67, 89.04°)
OKLaboklab(76.88% -0.0031 0.1368)
OKLCHoklch(76.88% 0.137 91.3)
XYZxyz(43.4685, 45.3661, 10.6038)
Luminance0.4536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B03B #3B5FD4
analogous
#D4633B #D4B03B #ACD43B
triadic
#D4B03B #3BD4B0 #B03BD4
tetradic
#D4B03B #3BD463 #3B5FD4 #D43BAC
square
#D4B03B #3BD463 #3B5FD4 #D43BAC
split-complementary
#D4B03B #3BACD4 #633BD4
monochromatic
#7A631B #AC8C26 #D4B03B #DFC46D #EAD89F

Accessibility & contrast

On white

2.08
#D4B03B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#D4B03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B03B
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B03B#FFFFFF#000000##000000
##D4B03B1.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE29
Deuteranopia (green-blind)
#CCB841
Tritanopia (blue-blind)
#E5A299
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d4b03b;
/* rgb */ color: rgb(212, 176, 59);
/* oklch */ color: oklch(76.9% 0.137 91.3);
Tailwind
colors: {
  custom: {
    50: '#e5c778',
    500: '#d4b03b',
    950: '#000000',
  },
}
SCSS
$custom: #d4b03b;
$custom-light: #e5c778;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b03b",
  "rgb": {
    "r": 212,
    "g": 176,
    "b": 59
  },
  "hsl": {
    "h": 45.882,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76884,
    "c": 0.1368,
    "h": 91.3
  },
  "luminance": 0.45363
}

Semantic roles & 50–950 ramp

primary
#D4B03B
secondary
#94A4D6
accent
#68E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D4B03B

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

Preview Lab → · Contrast checker → · Palette generator →

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