#D4A240#D4A240

#D4A240 is a light, vivid orange. Relative luminance 0.402; OKLCH L 74.1% C 0.127 H 81.1°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#D4A240
RGBrgb(212, 162, 64)
HSLhsl(40, 63%, 54%)
HSVhsv(40, 70%, 83%)
CMYKcmyk(0%, 23.6%, 69.8%, 16.9%)
CIE-LABlab(69.62, 8.74, 56.05)
CIE-LCHlch(69.62, 56.72, 81.14°)
OKLaboklab(74.13% 0.0197 0.1258)
OKLCHoklch(74.13% 0.127 81.1)
XYZxyz(40.9997, 40.2108, 10.4515)
Luminance0.4021 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A240 #4072D4
analogous
#D45840 #D4A240 #BCD440
triadic
#D4A240 #40D4A2 #A240D4
tetradic
#D4A240 #40D458 #4072D4 #D440BC
square
#D4A240 #40D458 #4072D4 #D440BC
split-complementary
#D4A240 #40BCD4 #5840D4
monochromatic
#7D5D1C #AF8127 #D4A240 #DFBA72 #EAD3A4

Accessibility & contrast

On white

2.32
#D4A240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#D4A240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A240
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A240#FFFFFF#000000##000000
##D4A2401.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A334
Deuteranopia (green-blind)
#C2AF44
Tritanopia (blue-blind)
#E6938E
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d4a240;
/* rgb */ color: rgb(212, 162, 64);
/* oklch */ color: oklch(74.1% 0.127 81.1);
Tailwind
colors: {
  custom: {
    50: '#e5bd7a',
    500: '#d4a240',
    950: '#000000',
  },
}
SCSS
$custom: #d4a240;
$custom-light: #e5bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a240",
  "rgb": {
    "r": 212,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 39.73,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.74133,
    "c": 0.12732,
    "h": 81.1
  },
  "luminance": 0.40208
}

Semantic roles & 50–950 ramp

primary
#D4A240
secondary
#98AED7
accent
#79E642
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D4A240

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

Preview Lab → · Contrast checker → · Palette generator →

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