#D5A23B#D5A23B

#D5A23B is a light, vivid orange. Relative luminance 0.403; OKLCH L 74.2% C 0.131 H 81.4°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#D5A23B
RGBrgb(213, 162, 59)
HSLhsl(40, 65%, 53%)
HSVhsv(40, 72%, 84%)
CMYKcmyk(0%, 23.9%, 72.3%, 16.5%)
CIE-LABlab(69.69, 8.92, 58.26)
CIE-LCHlch(69.69, 58.94, 81.29°)
OKLaboklab(74.2% 0.0196 0.1295)
OKLCHoklch(74.2% 0.131 81.4)
XYZxyz(41.1529, 40.3056, 9.7491)
Luminance0.4030 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5A23B #3B6ED5
analogous
#D5553B #D5A23B #BBD53B
triadic
#D5A23B #3BD5A2 #A23BD5
tetradic
#D5A23B #3BD555 #3B6ED5 #D53BBB
square
#D5A23B #3BD555 #3B6ED5 #D53BBB
split-complementary
#D5A23B #3BBBD5 #553BD5
monochromatic
#7B5B1A #AE8025 #D5A23B #E0BA6D #EBD2A0

Accessibility & contrast

On white

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

On black

9.06
#D5A23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5A23B
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5A23B#FFFFFF#000000##000000
##D5A23B1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32D
Deuteranopia (green-blind)
#C3B03F
Tritanopia (blue-blind)
#E7938D
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d5a23b;
/* rgb */ color: rgb(213, 162, 59);
/* oklch */ color: oklch(74.2% 0.131 81.4);
Tailwind
colors: {
  custom: {
    50: '#e6bd77',
    500: '#d5a23b',
    950: '#000000',
  },
}
SCSS
$custom: #d5a23b;
$custom-light: #e6bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#d5a23b",
  "rgb": {
    "r": 213,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 40.13,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.74197,
    "c": 0.13098,
    "h": 81.4
  },
  "luminance": 0.40303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5A23B

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

Preview Lab → · Contrast checker → · Palette generator →

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