#D7A242#D7A242

#D7A242 is a light, vivid orange. Relative luminance 0.407; OKLCH L 74.5% C 0.127 H 79.2°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#D7A242
RGBrgb(215, 162, 66)
HSLhsl(39, 65%, 55%)
HSVhsv(39, 69%, 84%)
CMYKcmyk(0%, 24.7%, 69.3%, 15.7%)
CIE-LABlab(69.95, 10.14, 55.62)
CIE-LCHlch(69.95, 56.54, 79.67°)
OKLaboklab(74.47% 0.0239 0.1251)
OKLCHoklch(74.47% 0.127 79.2)
XYZxyz(41.9307, 40.6842, 10.7976)
Luminance0.4068 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7A242 #4277D7
analogous
#D75842 #D7A242 #C1D742
triadic
#D7A242 #42D7A2 #A242D7
tetradic
#D7A242 #42D758 #4277D7 #D742C1
square
#D7A242 #42D758 #4277D7 #D742C1
split-complementary
#D7A242 #42C1D7 #5842D7
monochromatic
#835E1C #B58326 #D7A242 #E2BB75 #ECD4A7

Accessibility & contrast

On white

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

On black

9.14
#D7A242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7A242
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7A242#FFFFFF#000000##000000
##D7A2421.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7a242;
/* rgb */ color: rgb(215, 162, 66);
/* oklch */ color: oklch(74.5% 0.127 79.2);
Tailwind
colors: {
  custom: {
    50: '#e8bd7b',
    500: '#d7a242',
    950: '#000000',
  },
}
SCSS
$custom: #d7a242;
$custom-light: #e8bd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7a242",
  "rgb": {
    "r": 215,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 38.658,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.74472,
    "c": 0.12737,
    "h": 79.2
  },
  "luminance": 0.40681
}

Semantic roles & 50–950 ramp

primary
#D7A242
secondary
#9BB1DA
accent
#7CE840
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#17120A
muted
#85817C

Preview Lab

Preview with #D7A242

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

Preview Lab → · Contrast checker → · Palette generator →

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