#D4B03C#D4B03C

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

Color values

HEX#D4B03C
RGBrgb(212, 176, 60)
HSLhsl(46, 64%, 53%)
HSVhsv(46, 72%, 83%)
CMYKcmyk(0%, 17%, 71.7%, 16.9%)
CIE-LABlab(73.14, 1.08, 61.27)
CIE-LCHlch(73.14, 61.28, 88.99°)
OKLaboklab(76.89% -0.0029 0.1361)
OKLCHoklch(76.89% 0.136 91.2)
XYZxyz(43.4947, 45.3766, 10.7417)
Luminance0.4537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B03C #3C60D4
analogous
#D4643C #D4B03C #ACD43C
triadic
#D4B03C #3CD4B0 #B03CD4
tetradic
#D4B03C #3CD464 #3C60D4 #D43CAC
square
#D4B03C #3CD464 #3C60D4 #D43CAC
split-complementary
#D4B03C #3CACD4 #643CD4
monochromatic
#7B641B #AD8D26 #D4B03C #DFC46E #EAD9A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4B03C#FFFFFF#000000##000000
##D4B03C1.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)
#C3AE2B
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#E5A299
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d4b03c;
/* rgb */ color: rgb(212, 176, 60);
/* oklch */ color: oklch(76.9% 0.136 91.2);
Tailwind
colors: {
  custom: {
    50: '#e5c779',
    500: '#d4b03c',
    950: '#000000',
  },
}
SCSS
$custom: #d4b03c;
$custom-light: #e5c779;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b03c",
  "rgb": {
    "r": 212,
    "g": 176,
    "b": 60
  },
  "hsl": {
    "h": 45.789,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76892,
    "c": 0.13616,
    "h": 91.2
  },
  "luminance": 0.45374
}

Semantic roles & 50–950 ramp

primary
#D4B03C
secondary
#95A5D7
accent
#68E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D4B03C

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

Preview Lab → · Contrast checker → · Palette generator →

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