#D7B052#D7B052

#D7B052 is a light, vivid orange. Relative luminance 0.461; OKLCH L 77.4% C 0.121 H 86.7°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#D7B052
RGBrgb(215, 176, 82)
HSLhsl(42, 62%, 58%)
HSVhsv(42, 62%, 84%)
CMYKcmyk(0%, 18.1%, 61.9%, 15.7%)
CIE-LABlab(73.62, 3.64, 52.36)
CIE-LCHlch(73.62, 52.49, 86.03°)
OKLaboklab(77.4% 0.007 0.1207)
OKLCHoklch(77.4% 0.121 86.7)
XYZxyz(45.0749, 46.1096, 14.5069)
Luminance0.4611 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B052 #5279D7
analogous
#D76D52 #D7B052 #BBD752
triadic
#D7B052 #52D7B0 #B052D7
tetradic
#D7B052 #52D76D #5279D7 #D752BB
square
#D7B052 #52D76D #5279D7 #D752BB
split-complementary
#D7B052 #52BBD7 #6D52D7
monochromatic
#8E6E21 #C0942C #D7B052 #E2C784 #EEDDB5

Accessibility & contrast

On white

2.05
#D7B052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#D7B052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B052
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B052#FFFFFF#000000##000000
##D7B0521.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF48
Deuteranopia (green-blind)
#CCB956
Tritanopia (blue-blind)
#E8A29B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d7b052;
/* rgb */ color: rgb(215, 176, 82);
/* oklch */ color: oklch(77.4% 0.121 86.7);
Tailwind
colors: {
  custom: {
    50: '#e7c786',
    500: '#d7b052',
    950: '#000000',
  },
}
SCSS
$custom: #d7b052;
$custom-light: #e7c786;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b052",
  "rgb": {
    "r": 215,
    "g": 176,
    "b": 82
  },
  "hsl": {
    "h": 42.406,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.77395,
    "c": 0.12085,
    "h": 86.7
  },
  "luminance": 0.46107
}

Semantic roles & 50–950 ramp

primary
#D7B052
secondary
#A8B7DD
accent
#72E642
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B052

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

Preview Lab → · Contrast checker → · Palette generator →

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