#D1B952#D1B952

#D1B952 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.6% C 0.125 H 96.2°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#D1B952
RGBrgb(209, 185, 82)
HSLhsl(49, 58%, 57%)
HSVhsv(49, 61%, 82%)
CMYKcmyk(0%, 11.5%, 60.8%, 18%)
CIE-LABlab(75.37, -3.64, 54.16)
CIE-LCHlch(75.37, 54.28, 93.84°)
OKLaboklab(78.64% -0.0136 0.1246)
OKLCHoklch(78.64% 0.125 96.2)
XYZxyz(45.1684, 48.8645, 15.0336)
Luminance0.4886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B952 #526AD1
analogous
#D17952 #D1B952 #AAD152
triadic
#D1B952 #52D1B9 #B952D1
tetradic
#D1B952 #52D179 #526AD1 #D152AA
square
#D1B952 #52D179 #526AD1 #D152AA
split-complementary
#D1B952 #52AAD1 #7952D1
monochromatic
#857323 #B69C30 #D1B952 #DECD82 #EBE0B3

Accessibility & contrast

On white

1.95
#D1B952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#D1B952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B952
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B952#FFFFFF#000000##000000
##D1B9521.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB547
Deuteranopia (green-blind)
#D0BD57
Tritanopia (blue-blind)
#E0ACA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d1b952;
/* rgb */ color: rgb(209, 185, 82);
/* oklch */ color: oklch(78.6% 0.125 96.2);
Tailwind
colors: {
  custom: {
    50: '#e2cd86',
    500: '#d1b952',
    950: '#000000',
  },
}
SCSS
$custom: #d1b952;
$custom-light: #e2cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b952",
  "rgb": {
    "r": 209,
    "g": 185,
    "b": 82
  },
  "hsl": {
    "h": 48.661,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78644,
    "c": 0.12539,
    "h": 96.2
  },
  "luminance": 0.48862
}

Semantic roles & 50–950 ramp

primary
#D1B952
secondary
#A6AFD9
accent
#64E147
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B952

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

Preview Lab → · Contrast checker → · Palette generator →

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