#D7A23C#D7A23C

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

Color values

HEX#D7A23C
RGBrgb(215, 162, 60)
HSLhsl(39, 66%, 54%)
HSVhsv(39, 72%, 84%)
CMYKcmyk(0%, 24.7%, 72.1%, 15.7%)
CIE-LABlab(69.91, 9.83, 58.14)
CIE-LCHlch(69.91, 58.96, 80.40°)
OKLaboklab(74.42% 0.0222 0.1294)
OKLCHoklch(74.42% 0.131 80.3)
XYZxyz(41.7630, 40.6171, 9.9144)
Luminance0.4061 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A23C #3C71D7
analogous
#D7553C #D7A23C #BED73C
triadic
#D7A23C #3CD7A2 #A23CD7
tetradic
#D7A23C #3CD755 #3C71D7 #D73CBE
square
#D7A23C #3CD755 #3C71D7 #D73CBE
split-complementary
#D7A23C #3CBED7 #553CD7
monochromatic
#7F5C1A #B18124 #D7A23C #E1BA6F #ECD2A2

Accessibility & contrast

On white

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

On black

9.12
#D7A23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A23C
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A23C#FFFFFF#000000##000000
##D7A23C1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7a23c;
/* rgb */ color: rgb(215, 162, 60);
/* oklch */ color: oklch(74.4% 0.131 80.3);
Tailwind
colors: {
  custom: {
    50: '#e8bd78',
    500: '#d7a23c',
    950: '#000000',
  },
}
SCSS
$custom: #d7a23c;
$custom-light: #e8bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a23c",
  "rgb": {
    "r": 215,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 39.484,
    "s": 65.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7442,
    "c": 0.13125,
    "h": 80.3
  },
  "luminance": 0.40614
}

Semantic roles & 50–950 ramp

primary
#D7A23C
secondary
#96ADD8
accent
#79E93F
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D7A23C

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

Preview Lab → · Contrast checker → · Palette generator →

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