#D4B252#D4B252

#D4B252 is a light, vivid orange. Relative luminance 0.464; OKLCH L 77.5% C 0.121 H 89.8°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#D4B252
RGBrgb(212, 178, 82)
HSLhsl(44, 60%, 58%)
HSVhsv(44, 61%, 83%)
CMYKcmyk(0%, 16%, 61.3%, 16.9%)
CIE-LABlab(73.84, 1.31, 52.53)
CIE-LCHlch(73.84, 52.54, 88.58°)
OKLaboklab(77.5% 0.0004 0.1211)
OKLCHoklch(77.5% 0.121 89.8)
XYZxyz(44.5969, 46.4495, 14.5976)
Luminance0.4645 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B252 #5274D4
analogous
#D47152 #D4B252 #B5D452
triadic
#D4B252 #52D4B2 #B252D4
tetradic
#D4B252 #52D471 #5274D4 #D452B5
square
#D4B252 #52D471 #5274D4 #D452B5
split-complementary
#D4B252 #52B5D4 #7152D4
monochromatic
#896E22 #BA962E #D4B252 #E0C883 #ECDEB4

Accessibility & contrast

On white

2.04
#D4B252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#D4B252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B252
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B252#FFFFFF#000000##000000
##D4B2521.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4b252;
/* rgb */ color: rgb(212, 178, 82);
/* oklch */ color: oklch(77.5% 0.121 89.8);
Tailwind
colors: {
  custom: {
    50: '#e4c886',
    500: '#d4b252',
    950: '#000000',
  },
}
SCSS
$custom: #d4b252;
$custom-light: #e4c886;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b252",
  "rgb": {
    "r": 212,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 44.308,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.77501,
    "c": 0.12108,
    "h": 89.8
  },
  "luminance": 0.46447
}

Semantic roles & 50–950 ramp

primary
#D4B252
secondary
#A7B4DB
accent
#6EE344
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B252

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

Preview Lab → · Contrast checker → · Palette generator →

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