#D4A138#D4A138

#D4A138 is a light, vivid orange. Relative luminance 0.398; OKLCH L 73.9% C 0.132 H 81.7°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#D4A138
RGBrgb(212, 161, 56)
HSLhsl(40, 64%, 53%)
HSVhsv(40, 74%, 83%)
CMYKcmyk(0%, 24.1%, 73.6%, 16.9%)
CIE-LABlab(69.31, 8.89, 59.07)
CIE-LCHlch(69.31, 59.74, 81.45°)
OKLaboklab(73.87% 0.0192 0.1307)
OKLCHoklch(73.87% 0.132 81.7)
XYZxyz(40.6127, 39.7753, 9.2790)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A138 #386BD4
analogous
#D45338 #D4A138 #B9D438
triadic
#D4A138 #38D4A1 #A138D4
tetradic
#D4A138 #38D453 #386BD4 #D438B9
square
#D4A138 #38D453 #386BD4 #D438B9
split-complementary
#D4A138 #38B9D4 #5338D4
monochromatic
#78591A #AA7E25 #D4A138 #DFB96A #EAD19D

Accessibility & contrast

On white

2.35
#D4A138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#D4A138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A138
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A138#FFFFFF#000000##000000
##D4A1381.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A229
Deuteranopia (green-blind)
#C2AE3C
Tritanopia (blue-blind)
#E6928C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d4a138;
/* rgb */ color: rgb(212, 161, 56);
/* oklch */ color: oklch(73.9% 0.132 81.7);
Tailwind
colors: {
  custom: {
    50: '#e6bc75',
    500: '#d4a138',
    950: '#000000',
  },
}
SCSS
$custom: #d4a138;
$custom-light: #e6bc75;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a138",
  "rgb": {
    "r": 212,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 40.385,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7387,
    "c": 0.13208,
    "h": 81.7
  },
  "luminance": 0.39772
}

Semantic roles & 50–950 ramp

primary
#D4A138
secondary
#92A8D6
accent
#77E740
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D4A138

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

Preview Lab → · Contrast checker → · Palette generator →

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