#D4A23C#D4A23C

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

Color values

HEX#D4A23C
RGBrgb(212, 162, 60)
HSLhsl(40, 64%, 53%)
HSVhsv(40, 72%, 83%)
CMYKcmyk(0%, 23.6%, 71.7%, 16.9%)
CIE-LABlab(69.59, 8.54, 57.71)
CIE-LCHlch(69.59, 58.34, 81.58°)
OKLaboklab(74.1% 0.0186 0.1286)
OKLCHoklch(74.1% 0.13 81.8)
XYZxyz(40.8899, 40.1669, 9.8734)
Luminance0.4016 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A23C #3C6ED4
analogous
#D4563C #D4A23C #BAD43C
triadic
#D4A23C #3CD4A2 #A23CD4
tetradic
#D4A23C #3CD456 #3C6ED4 #D43CBA
square
#D4A23C #3CD456 #3C6ED4 #D43CBA
split-complementary
#D4A23C #3CBAD4 #563CD4
monochromatic
#7B5B1B #AD8026 #D4A23C #DFBA6E #EAD2A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4A23C#FFFFFF#000000##000000
##D4A23C1.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)
#B7A32E
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#E6938D
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d4a23c;
/* rgb */ color: rgb(212, 162, 60);
/* oklch */ color: oklch(74.1% 0.130 81.8);
Tailwind
colors: {
  custom: {
    50: '#e6bd77',
    500: '#d4a23c',
    950: '#000000',
  },
}
SCSS
$custom: #d4a23c;
$custom-light: #e6bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a23c",
  "rgb": {
    "r": 212,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 40.263,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.74098,
    "c": 0.12992,
    "h": 81.8
  },
  "luminance": 0.40164
}

Semantic roles & 50–950 ramp

primary
#D4A23C
secondary
#95ABD7
accent
#78E741
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D4A23C

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

Preview Lab → · Contrast checker → · Palette generator →

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