#D4B03E#D4B03E

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

Color values

HEX#D4B03E
RGBrgb(212, 176, 62)
HSLhsl(46, 64%, 54%)
HSVhsv(46, 71%, 83%)
CMYKcmyk(0%, 17%, 70.8%, 16.9%)
CIE-LABlab(73.15, 1.18, 60.49)
CIE-LCHlch(73.15, 60.50, 88.88°)
OKLaboklab(76.91% -0.0023 0.1348)
OKLCHoklch(76.91% 0.135 91)
XYZxyz(43.5486, 45.3981, 11.0254)
Luminance0.4540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B03E #3E62D4
analogous
#D4653E #D4B03E #ADD43E
triadic
#D4B03E #3ED4B0 #B03ED4
tetradic
#D4B03E #3ED465 #3E62D4 #D43EAD
square
#D4B03E #3ED465 #3E62D4 #D43EAD
split-complementary
#D4B03E #3EADD4 #653ED4
monochromatic
#7C651C #AE8E27 #D4B03E #DFC470 #EAD9A2

Accessibility & contrast

On white

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

On black

10.08
#D4B03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B03E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B03E#FFFFFF#000000##000000
##D4B03E1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4b03e;
/* rgb */ color: rgb(212, 176, 62);
/* oklch */ color: oklch(76.9% 0.135 91.0);
Tailwind
colors: {
  custom: {
    50: '#e5c77a',
    500: '#d4b03e',
    950: '#000000',
  },
}
SCSS
$custom: #d4b03e;
$custom-light: #e5c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b03e",
  "rgb": {
    "r": 212,
    "g": 176,
    "b": 62
  },
  "hsl": {
    "h": 45.6,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76908,
    "c": 0.13486,
    "h": 91
  },
  "luminance": 0.45396
}

Semantic roles & 50–950 ramp

primary
#D4B03E
secondary
#97A6D7
accent
#69E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B03E

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

Preview Lab → · Contrast checker → · Palette generator →

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