#D7B252#D7B252

#D7B252 is a light, vivid orange. Relative luminance 0.469; OKLCH L 77.8% C 0.122 H 88.2°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#D7B252
RGBrgb(215, 178, 82)
HSLhsl(43, 62%, 58%)
HSVhsv(43, 62%, 84%)
CMYKcmyk(0%, 17.2%, 61.9%, 15.7%)
CIE-LABlab(74.13, 2.58, 52.93)
CIE-LCHlch(74.13, 52.99, 87.21°)
OKLaboklab(77.8% 0.0039 0.1219)
OKLCHoklch(77.8% 0.122 88.2)
XYZxyz(45.4700, 46.8997, 14.6386)
Luminance0.4690 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B252 #5277D7
analogous
#D76F52 #D7B252 #B9D752
triadic
#D7B252 #52D7B2 #B252D7
tetradic
#D7B252 #52D76F #5277D7 #D752B9
square
#D7B252 #52D76F #5277D7 #D752B9
split-complementary
#D7B252 #52B9D7 #6F52D7
monochromatic
#8E6F21 #C0972C #D7B252 #E2C884 #EEDEB5

Accessibility & contrast

On white

2.02
#D7B252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#D7B252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B252
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B252#FFFFFF#000000##000000
##D7B2521.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#CDBA56
Tritanopia (blue-blind)
#E8A49D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d7b252;
/* rgb */ color: rgb(215, 178, 82);
/* oklch */ color: oklch(77.8% 0.122 88.2);
Tailwind
colors: {
  custom: {
    50: '#e7c886',
    500: '#d7b252',
    950: '#000000',
  },
}
SCSS
$custom: #d7b252;
$custom-light: #e7c886;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b252",
  "rgb": {
    "r": 215,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 43.308,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.77796,
    "c": 0.12192,
    "h": 88.2
  },
  "luminance": 0.46897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7B252

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

Preview Lab → · Contrast checker → · Palette generator →

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