#D9B252#D9B252

#D9B252 is a light, vivid orange. Relative luminance 0.472; OKLCH L 78.0% C 0.123 H 87.1°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#D9B252
RGBrgb(217, 178, 82)
HSLhsl(43, 64%, 59%)
HSVhsv(43, 62%, 85%)
CMYKcmyk(0%, 18%, 62.2%, 14.9%)
CIE-LABlab(74.32, 3.43, 53.20)
CIE-LCHlch(74.32, 53.31, 86.32°)
OKLaboklab(77.99% 0.0063 0.1224)
OKLCHoklch(77.99% 0.123 87.1)
XYZxyz(46.0610, 47.2044, 14.6663)
Luminance0.4720 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B252 #5279D9
analogous
#D96E52 #D9B252 #BCD952
triadic
#D9B252 #52D9B2 #B252D9
tetradic
#D9B252 #52D96E #5279D9 #D952BC
square
#D9B252 #52D96E #5279D9 #D952BC
split-complementary
#D9B252 #52BCD9 #6E52D9
monochromatic
#917020 #C3972B #D9B252 #E4C884 #EFDFB6

Accessibility & contrast

On white

2.01
#D9B252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#D9B252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B252
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B252#FFFFFF#000000##000000
##D9B2521.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B148
Deuteranopia (green-blind)
#CEBB56
Tritanopia (blue-blind)
#EAA49D
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d9b252;
/* rgb */ color: rgb(217, 178, 82);
/* oklch */ color: oklch(78.0% 0.123 87.1);
Tailwind
colors: {
  custom: {
    50: '#e8c886',
    500: '#d9b252',
    950: '#000000',
  },
}
SCSS
$custom: #d9b252;
$custom-light: #e8c886;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b252",
  "rgb": {
    "r": 217,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 42.667,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.77994,
    "c": 0.12255,
    "h": 87.1
  },
  "luminance": 0.47202
}

Semantic roles & 50–950 ramp

primary
#D9B252
secondary
#A9B8DE
accent
#71E741
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D9B252

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

Preview Lab → · Contrast checker → · Palette generator →

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