#D5A242#D5A242

#D5A242 is a light, vivid orange. Relative luminance 0.404; OKLCH L 74.3% C 0.126 H 80.2°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#D5A242
RGBrgb(213, 162, 66)
HSLhsl(39, 64%, 55%)
HSVhsv(39, 69%, 84%)
CMYKcmyk(0%, 23.9%, 69%, 16.5%)
CIE-LABlab(69.74, 9.28, 55.34)
CIE-LCHlch(69.74, 56.11, 80.48°)
OKLaboklab(74.26% 0.0215 0.1246)
OKLCHoklch(74.26% 0.126 80.2)
XYZxyz(41.3468, 40.3831, 10.7702)
Luminance0.4038 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5A242 #4275D5
analogous
#D55942 #D5A242 #BED542
triadic
#D5A242 #42D5A2 #A242D5
tetradic
#D5A242 #42D559 #4275D5 #D542BE
square
#D5A242 #42D559 #4275D5 #D542BE
split-complementary
#D5A242 #42BED5 #5942D5
monochromatic
#805E1C #B28228 #D5A242 #E0BB74 #EBD3A6

Accessibility & contrast

On white

2.31
#D5A242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#D5A242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5A242
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5A242#FFFFFF#000000##000000
##D5A2421.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A336
Deuteranopia (green-blind)
#C3B046
Tritanopia (blue-blind)
#E7938E
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d5a242;
/* rgb */ color: rgb(213, 162, 66);
/* oklch */ color: oklch(74.3% 0.126 80.2);
Tailwind
colors: {
  custom: {
    50: '#e6bd7b',
    500: '#d5a242',
    950: '#000000',
  },
}
SCSS
$custom: #d5a242;
$custom-light: #e6bd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5a242",
  "rgb": {
    "r": 213,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 39.184,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.74258,
    "c": 0.12642,
    "h": 80.2
  },
  "luminance": 0.4038
}

Semantic roles & 50–950 ramp

primary
#D5A242
secondary
#9AB0D8
accent
#7BE741
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #D5A242

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

Preview Lab → · Contrast checker → · Palette generator →

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