#D7A338#D7A338

#D7A338 is a light, vivid orange. Relative luminance 0.409; OKLCH L 74.6% C 0.134 H 81.6°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#D7A338
RGBrgb(215, 163, 56)
HSLhsl(40, 67%, 53%)
HSVhsv(40, 74%, 84%)
CMYKcmyk(0%, 24.2%, 74%, 15.7%)
CIE-LABlab(70.13, 9.11, 59.98)
CIE-LCHlch(70.13, 60.67, 81.36°)
OKLaboklab(74.58% 0.0196 0.1325)
OKLCHoklch(74.58% 0.134 81.6)
XYZxyz(41.8380, 40.9301, 9.4374)
Luminance0.4093 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A338 #386CD7
analogous
#D75338 #D7A338 #BCD738
triadic
#D7A338 #38D7A3 #A338D7
tetradic
#D7A338 #38D753 #386CD7 #D738BC
square
#D7A338 #38D753 #386CD7 #D738BC
split-complementary
#D7A338 #38BCD7 #5338D7
monochromatic
#7C5B19 #AF8123 #D7A338 #E1BB6B #EBD29E

Accessibility & contrast

On white

2.29
#D7A338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#D7A338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A338
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A338#FFFFFF#000000##000000
##D7A3381.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A428
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#E9938E
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d7a338;
/* rgb */ color: rgb(215, 163, 56);
/* oklch */ color: oklch(74.6% 0.134 81.6);
Tailwind
colors: {
  custom: {
    50: '#e8be75',
    500: '#d7a338',
    950: '#000000',
  },
}
SCSS
$custom: #d7a338;
$custom-light: #e8be75;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a338",
  "rgb": {
    "r": 215,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 40.377,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.74583,
    "c": 0.13394,
    "h": 81.6
  },
  "luminance": 0.40927
}

Semantic roles & 50–950 ramp

primary
#D7A338
secondary
#93AAD8
accent
#76E93E
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D7A338

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

Preview Lab → · Contrast checker → · Palette generator →

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