#D4A128#D4A128

#D4A128 is a light, vivid orange. Relative luminance 0.396; OKLCH L 73.8% C 0.140 H 83.6°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#D4A128
RGBrgb(212, 161, 40)
HSLhsl(42, 68%, 49%)
HSVhsv(42, 81%, 83%)
CMYKcmyk(0%, 24.1%, 81.1%, 16.9%)
CIE-LABlab(69.21, 8.27, 64.80)
CIE-LCHlch(69.21, 65.33, 82.73°)
OKLaboklab(73.77% 0.0156 0.1396)
OKLCHoklch(73.77% 0.14 83.6)
XYZxyz(40.2820, 39.6430, 7.5374)
Luminance0.3964 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A128 #285BD4
analogous
#D44B28 #D4A128 #B1D428
triadic
#D4A128 #28D4A1 #A128D4
tetradic
#D4A128 #28D44B #285BD4 #D428B1
square
#D4A128 #28D44B #285BD4 #D428B1
split-complementary
#D4A128 #28B1D4 #4B28D4
monochromatic
#6D5315 #A17A1E #D4A128 #E0B859 #E9CE8D

Accessibility & contrast

On white

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

On black

8.93
#D4A128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A128
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A128#FFFFFF#000000##000000
##D4A1281.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A109
Deuteranopia (green-blind)
#C3AE2F
Tritanopia (blue-blind)
#E7918A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d4a128;
/* rgb */ color: rgb(212, 161, 40);
/* oklch */ color: oklch(73.8% 0.140 83.6);
Tailwind
colors: {
  custom: {
    50: '#e6bc6d',
    500: '#d4a128',
    950: '#000000',
  },
}
SCSS
$custom: #d4a128;
$custom-light: #e6bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a128",
  "rgb": {
    "r": 212,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 42.209,
    "s": 68.254,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73766,
    "c": 0.14042,
    "h": 83.6
  },
  "luminance": 0.3964
}

Semantic roles & 50–950 ramp

primary
#D4A128
secondary
#849CD4
accent
#70EB3D
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#171108
muted
#85807B

Preview Lab

Preview with #D4A128

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

Preview Lab → · Contrast checker → · Palette generator →

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