#D4A23D#D4A23D

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

Color values

HEX#D4A23D
RGBrgb(212, 162, 61)
HSLhsl(40, 64%, 54%)
HSVhsv(40, 71%, 83%)
CMYKcmyk(0%, 23.6%, 71.2%, 16.9%)
CIE-LABlab(69.60, 8.59, 57.30)
CIE-LCHlch(69.60, 57.94, 81.48°)
OKLaboklab(74.11% 0.0189 0.1279)
OKLCHoklch(74.11% 0.129 81.6)
XYZxyz(40.9166, 40.1776, 10.0140)
Luminance0.4017 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A23D #3D6FD4
analogous
#D4563D #D4A23D #BBD43D
triadic
#D4A23D #3DD4A2 #A23DD4
tetradic
#D4A23D #3DD456 #3D6FD4 #D43DBB
square
#D4A23D #3DD456 #3D6FD4 #D43DBB
split-complementary
#D4A23D #3DBBD4 #563DD4
monochromatic
#7B5C1B #AD8126 #D4A23D #DFBA6F #EAD2A1

Accessibility & contrast

On white

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

On black

9.03
#D4A23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A23D
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A23D#FFFFFF#000000##000000
##D4A23D1.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A330
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#E6938D
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d4a23d;
/* rgb */ color: rgb(212, 162, 61);
/* oklch */ color: oklch(74.1% 0.129 81.6);
Tailwind
colors: {
  custom: {
    50: '#e6bd78',
    500: '#d4a23d',
    950: '#000000',
  },
}
SCSS
$custom: #d4a23d;
$custom-light: #e6bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a23d",
  "rgb": {
    "r": 212,
    "g": 162,
    "b": 61
  },
  "hsl": {
    "h": 40.132,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.74107,
    "c": 0.12928,
    "h": 81.6
  },
  "luminance": 0.40175
}

Semantic roles & 50–950 ramp

primary
#D4A23D
secondary
#96ABD7
accent
#78E741
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#171209
muted
#85817B

Preview Lab

Preview with #D4A23D

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

Preview Lab → · Contrast checker → · Palette generator →

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