#D4A23F#D4A23F

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

Color values

HEX#D4A23F
RGBrgb(212, 162, 63)
HSLhsl(40, 63%, 54%)
HSVhsv(40, 70%, 83%)
CMYKcmyk(0%, 23.6%, 70.3%, 16.9%)
CIE-LABlab(69.61, 8.69, 56.47)
CIE-LCHlch(69.61, 57.13, 81.25°)
OKLaboklab(74.12% 0.0194 0.1265)
OKLCHoklch(74.12% 0.128 81.3)
XYZxyz(40.9715, 40.1995, 10.3030)
Luminance0.4020 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A23F #3F71D4
analogous
#D4583F #D4A23F #BBD43F
triadic
#D4A23F #3FD4A2 #A23FD4
tetradic
#D4A23F #3FD458 #3F71D4 #D43FBB
square
#D4A23F #3FD458 #3F71D4 #D43FBB
split-complementary
#D4A23F #3FBBD4 #583FD4
monochromatic
#7D5C1C #AF8127 #D4A23F #DFBA71 #EAD2A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4A23F#FFFFFF#000000##000000
##D4A23F1.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)
#B6A332
Deuteranopia (green-blind)
#C2AF43
Tritanopia (blue-blind)
#E6938D
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d4a23f;
/* rgb */ color: rgb(212, 162, 63);
/* oklch */ color: oklch(74.1% 0.128 81.3);
Tailwind
colors: {
  custom: {
    50: '#e6bd79',
    500: '#d4a23f',
    950: '#000000',
  },
}
SCSS
$custom: #d4a23f;
$custom-light: #e6bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a23f",
  "rgb": {
    "r": 212,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 39.866,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74124,
    "c": 0.12798,
    "h": 81.3
  },
  "luminance": 0.40197
}

Semantic roles & 50–950 ramp

primary
#D4A23F
secondary
#98ADD7
accent
#79E641
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D4A23F

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

Preview Lab → · Contrast checker → · Palette generator →

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