#D4A538#D4A538

#D4A538 is a light, vivid orange. Relative luminance 0.412; OKLCH L 74.7% C 0.133 H 84.4°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#D4A538
RGBrgb(212, 165, 56)
HSLhsl(42, 64%, 53%)
HSVhsv(42, 74%, 83%)
CMYKcmyk(0%, 22.2%, 73.6%, 16.9%)
CIE-LABlab(70.31, 6.74, 60.06)
CIE-LCHlch(70.31, 60.44, 83.59°)
OKLaboklab(74.66% 0.013 0.1328)
OKLCHoklch(74.66% 0.133 84.4)
XYZxyz(41.3229, 41.1957, 9.5157)
Luminance0.4119 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A538 #3867D4
analogous
#D45738 #D4A538 #B5D438
triadic
#D4A538 #38D4A5 #A538D4
tetradic
#D4A538 #38D457 #3867D4 #D438B5
square
#D4A538 #38D457 #3867D4 #D438B5
split-complementary
#D4A538 #38B5D4 #5738D4
monochromatic
#785B1A #AA8225 #D4A538 #DFBC6A #EAD39D

Accessibility & contrast

On white

2.27
#D4A538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#D4A538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A538
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A538#FFFFFF#000000##000000
##D4A5381.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA528
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#E6968F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d4a538;
/* rgb */ color: rgb(212, 165, 56);
/* oklch */ color: oklch(74.7% 0.133 84.4);
Tailwind
colors: {
  custom: {
    50: '#e6bf76',
    500: '#d4a538',
    950: '#000000',
  },
}
SCSS
$custom: #d4a538;
$custom-light: #e6bf76;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a538",
  "rgb": {
    "r": 212,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 41.923,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74658,
    "c": 0.13342,
    "h": 84.4
  },
  "luminance": 0.41193
}

Semantic roles & 50–950 ramp

primary
#D4A538
secondary
#92A6D6
accent
#73E740
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D4A538

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

Preview Lab → · Contrast checker → · Palette generator →

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