#D7A23E#D7A23E

#D7A23E is a light, vivid orange. Relative luminance 0.406; OKLCH L 74.4% C 0.130 H 79.9°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#D7A23E
RGBrgb(215, 162, 62)
HSLhsl(39, 66%, 54%)
HSVhsv(39, 71%, 84%)
CMYKcmyk(0%, 24.7%, 71.2%, 15.7%)
CIE-LABlab(69.92, 9.93, 57.31)
CIE-LCHlch(69.92, 58.17, 80.17°)
OKLaboklab(74.44% 0.0227 0.128)
OKLCHoklch(74.44% 0.13 79.9)
XYZxyz(41.8168, 40.6386, 10.1981)
Luminance0.4064 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A23E #3E73D7
analogous
#D7563E #D7A23E #BFD73E
triadic
#D7A23E #3ED7A2 #A23ED7
tetradic
#D7A23E #3ED756 #3E73D7 #D73EBF
square
#D7A23E #3ED756 #3E73D7 #D73EBF
split-complementary
#D7A23E #3EBFD7 #563ED7
monochromatic
#805D1B #B38225 #D7A23E #E2BA71 #ECD3A3

Accessibility & contrast

On white

2.30
#D7A23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#D7A23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A23E
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A23E#FFFFFF#000000##000000
##D7A23E1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A331
Deuteranopia (green-blind)
#C4B042
Tritanopia (blue-blind)
#E9938D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d7a23e;
/* rgb */ color: rgb(215, 162, 62);
/* oklch */ color: oklch(74.4% 0.130 79.9);
Tailwind
colors: {
  custom: {
    50: '#e8bd79',
    500: '#d7a23e',
    950: '#000000',
  },
}
SCSS
$custom: #d7a23e;
$custom-light: #e8bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a23e",
  "rgb": {
    "r": 215,
    "g": 162,
    "b": 62
  },
  "hsl": {
    "h": 39.216,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.74437,
    "c": 0.12999,
    "h": 79.9
  },
  "luminance": 0.40636
}

Semantic roles & 50–950 ramp

primary
#D7A23E
secondary
#98AED9
accent
#7AE93F
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#171209
muted
#85817B

Preview Lab

Preview with #D7A23E

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

Preview Lab → · Contrast checker → · Palette generator →

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