#D1A228#D1A228

#D1A228 is a light, vivid orange. Relative luminance 0.395; OKLCH L 73.6% C 0.140 H 85.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#D1A228
RGBrgb(209, 162, 40)
HSLhsl(43, 68%, 49%)
HSVhsv(43, 81%, 82%)
CMYKcmyk(0%, 22.5%, 80.9%, 18%)
CIE-LABlab(69.15, 6.42, 64.62)
CIE-LCHlch(69.15, 64.94, 84.33°)
OKLaboklab(73.64% 0.0105 0.1393)
OKLCHoklch(73.64% 0.14 85.7)
XYZxyz(39.6004, 39.5520, 7.5557)
Luminance0.3955 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1A228 #2857D1
analogous
#D14E28 #D1A228 #ACD128
triadic
#D1A228 #28D1A2 #A228D1
tetradic
#D1A228 #28D14E #2857D1 #D128AC
square
#D1A228 #28D14E #2857D1 #D128AC
split-complementary
#D1A228 #28ACD1 #4E28D1
monochromatic
#6A5214 #9E7A1E #D1A228 #DFB957 #E9CF8B

Accessibility & contrast

On white

2.36
#D1A228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#D1A228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1A228
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1A228#FFFFFF#000000##000000
##D1A2281.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A208
Deuteranopia (green-blind)
#C2AE2F
Tritanopia (blue-blind)
#E3928B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d1a228;
/* rgb */ color: rgb(209, 162, 40);
/* oklch */ color: oklch(73.6% 0.140 85.7);
Tailwind
colors: {
  custom: {
    50: '#e4bd6d',
    500: '#d1a228',
    950: '#000000',
  },
}
SCSS
$custom: #d1a228;
$custom-light: #e4bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1a228",
  "rgb": {
    "r": 209,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 43.314,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73643,
    "c": 0.13972,
    "h": 85.7
  },
  "luminance": 0.39549
}

Semantic roles & 50–950 ramp

primary
#D1A228
secondary
#8299D3
accent
#6DEB3D
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#171208
muted
#85817B

Preview Lab

Preview with #D1A228

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

Preview Lab → · Contrast checker → · Palette generator →

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