#D4A842#D4A842

#D4A842 is a light, vivid orange. Relative luminance 0.424; OKLCH L 75.3% C 0.128 H 85.1°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#D4A842
RGBrgb(212, 168, 66)
HSLhsl(42, 63%, 55%)
HSVhsv(42, 69%, 83%)
CMYKcmyk(0%, 20.8%, 68.9%, 16.9%)
CIE-LABlab(71.14, 5.64, 56.77)
CIE-LCHlch(71.14, 57.05, 84.33°)
OKLaboklab(75.34% 0.011 0.1277)
OKLCHoklch(75.34% 0.128 85.1)
XYZxyz(42.1398, 42.3985, 11.1174)
Luminance0.4240 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A842 #426ED4
analogous
#D45F42 #D4A842 #B7D442
triadic
#D4A842 #42D4A8 #A842D4
tetradic
#D4A842 #42D45F #426ED4 #D442B7
square
#D4A842 #42D45F #426ED4 #D442B7
split-complementary
#D4A842 #42B7D4 #5F42D4
monochromatic
#7F611D #B18828 #D4A842 #DFBF74 #EBD6A6

Accessibility & contrast

On white

2.22
#D4A842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#D4A842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A842
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A842#FFFFFF#000000##000000
##D4A8421.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA735
Deuteranopia (green-blind)
#C6B346
Tritanopia (blue-blind)
#E59A93
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d4a842;
/* rgb */ color: rgb(212, 168, 66);
/* oklch */ color: oklch(75.3% 0.128 85.1);
Tailwind
colors: {
  custom: {
    50: '#e5c17b',
    500: '#d4a842',
    950: '#000000',
  },
}
SCSS
$custom: #d4a842;
$custom-light: #e5c17b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a842",
  "rgb": {
    "r": 212,
    "g": 168,
    "b": 66
  },
  "hsl": {
    "h": 41.918,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.75336,
    "c": 0.12814,
    "h": 85.1
  },
  "luminance": 0.42396
}

Semantic roles & 50–950 ramp

primary
#D4A842
secondary
#9AADD8
accent
#73E642
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #D4A842

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

Preview Lab → · Contrast checker → · Palette generator →

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