#D7A234#D7A234

#D7A234 is a light, vivid orange. Relative luminance 0.405; OKLCH L 74.4% C 0.136 H 81.4°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#D7A234
RGBrgb(215, 162, 52)
HSLhsl(40, 67%, 52%)
HSVhsv(40, 76%, 84%)
CMYKcmyk(0%, 24.7%, 75.8%, 15.7%)
CIE-LABlab(69.85, 9.48, 61.28)
CIE-LCHlch(69.85, 62.00, 81.21°)
OKLaboklab(74.36% 0.0202 0.1344)
OKLCHoklch(74.36% 0.136 81.4)
XYZxyz(41.5672, 40.5388, 8.8836)
Luminance0.4054 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A234 #3469D7
analogous
#D75134 #D7A234 #BAD734
triadic
#D7A234 #34D7A2 #A234D7
tetradic
#D7A234 #34D751 #3469D7 #D734BA
square
#D7A234 #34D751 #3469D7 #D734BA
split-complementary
#D7A234 #34BAD7 #5134D7
monochromatic
#795918 #AC7F22 #D7A234 #E1B967 #EBD19A

Accessibility & contrast

On white

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

On black

9.11
#D7A234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A234
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A234#FFFFFF#000000##000000
##D7A2341.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A322
Deuteranopia (green-blind)
#C4B039
Tritanopia (blue-blind)
#EA928C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d7a234;
/* rgb */ color: rgb(215, 162, 52);
/* oklch */ color: oklch(74.4% 0.136 81.4);
Tailwind
colors: {
  custom: {
    50: '#e8bd73',
    500: '#d7a234',
    950: '#000000',
  },
}
SCSS
$custom: #d7a234;
$custom-light: #e8bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a234",
  "rgb": {
    "r": 215,
    "g": 162,
    "b": 52
  },
  "hsl": {
    "h": 40.491,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74359,
    "c": 0.13593,
    "h": 81.4
  },
  "luminance": 0.40536
}

Semantic roles & 50–950 ramp

primary
#D7A234
secondary
#90A7D7
accent
#76EA3E
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D7A234

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

Preview Lab → · Contrast checker → · Palette generator →

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