#D5B042#D5B042

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

Color values

HEX#D5B042
RGBrgb(213, 176, 66)
HSLhsl(45, 64%, 55%)
HSVhsv(45, 69%, 84%)
CMYKcmyk(0%, 17.4%, 69%, 16.5%)
CIE-LABlab(73.28, 1.82, 59.02)
CIE-LCHlch(73.28, 59.04, 88.24°)
OKLaboklab(77.04% -0.0001 0.1324)
OKLCHoklch(77.04% 0.132 90)
XYZxyz(43.9516, 45.5928, 11.6385)
Luminance0.4559 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B042 #4267D5
analogous
#D56742 #D5B042 #B0D542
triadic
#D5B042 #42D5B0 #B042D5
tetradic
#D5B042 #42D567 #4267D5 #D542B0
square
#D5B042 #42D567 #4267D5 #D542B0
split-complementary
#D5B042 #42B0D5 #6742D5
monochromatic
#80671C #B28F28 #D5B042 #E0C574 #EBDAA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5B042#FFFFFF#000000##000000
##D5B0421.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE34
Deuteranopia (green-blind)
#CCB847
Tritanopia (blue-blind)
#E6A299
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d5b042;
/* rgb */ color: rgb(213, 176, 66);
/* oklch */ color: oklch(77.0% 0.132 90.0);
Tailwind
colors: {
  custom: {
    50: '#e6c77c',
    500: '#d5b042',
    950: '#000000',
  },
}
SCSS
$custom: #d5b042;
$custom-light: #e6c77c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b042",
  "rgb": {
    "r": 213,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 44.898,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.7704,
    "c": 0.13239,
    "h": 90
  },
  "luminance": 0.4559
}

Semantic roles & 50–950 ramp

primary
#D5B042
secondary
#9AAAD8
accent
#6BE741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B042

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

Preview Lab → · Contrast checker → · Palette generator →

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