#D4B04F#D4B04F

#D4B04F is a light, vivid orange. Relative luminance 0.456; OKLCH L 77.1% C 0.122 H 88.8°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#D4B04F
RGBrgb(212, 176, 79)
HSLhsl(44, 61%, 57%)
HSVhsv(44, 63%, 83%)
CMYKcmyk(0%, 17%, 62.7%, 16.9%)
CIE-LABlab(73.29, 2.16, 53.31)
CIE-LCHlch(73.29, 53.35, 87.68°)
OKLaboklab(77.07% 0.0025 0.1223)
OKLCHoklch(77.07% 0.122 88.8)
XYZxyz(44.0902, 45.6148, 13.8778)
Luminance0.4561 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B04F #4F73D4
analogous
#D46D4F #D4B04F #B6D44F
triadic
#D4B04F #4FD4B0 #B04FD4
tetradic
#D4B04F #4FD46D #4F73D4 #D44FB6
square
#D4B04F #4FD46D #4F73D4 #D44FB6
split-complementary
#D4B04F #4FB6D4 #6D4FD4
monochromatic
#876C21 #B9932D #D4B04F #E0C680 #ECDCB1

Accessibility & contrast

On white

2.07
#D4B04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#D4B04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B04F
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B04F#FFFFFF#000000##000000
##D4B04F1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE45
Deuteranopia (green-blind)
#CBB853
Tritanopia (blue-blind)
#E4A39B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d4b04f;
/* rgb */ color: rgb(212, 176, 79);
/* oklch */ color: oklch(77.1% 0.122 88.8);
Tailwind
colors: {
  custom: {
    50: '#e5c784',
    500: '#d4b04f',
    950: '#000000',
  },
}
SCSS
$custom: #d4b04f;
$custom-light: #e5c784;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b04f",
  "rgb": {
    "r": 212,
    "g": 176,
    "b": 79
  },
  "hsl": {
    "h": 43.759,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77065,
    "c": 0.12236,
    "h": 88.8
  },
  "luminance": 0.45612
}

Semantic roles & 50–950 ramp

primary
#D4B04F
secondary
#A4B3DA
accent
#6FE444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B04F

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

Preview Lab → · Contrast checker → · Palette generator →

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