#D1B552#D1B552

#D1B552 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.8% C 0.122 H 93.6°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#D1B552
RGBrgb(209, 181, 82)
HSLhsl(47, 58%, 57%)
HSVhsv(47, 61%, 82%)
CMYKcmyk(0%, 13.4%, 60.8%, 18%)
CIE-LABlab(74.33, -1.55, 53.00)
CIE-LCHlch(74.33, 53.02, 91.67°)
OKLaboklab(77.82% -0.0076 0.1222)
OKLCHoklch(77.82% 0.122 93.6)
XYZxyz(44.3433, 47.2145, 14.7586)
Luminance0.4721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B552 #526ED1
analogous
#D17652 #D1B552 #ADD152
triadic
#D1B552 #52D1B5 #B552D1
tetradic
#D1B552 #52D176 #526ED1 #D152AD
square
#D1B552 #52D176 #526ED1 #D152AD
split-complementary
#D1B552 #52ADD1 #7652D1
monochromatic
#857023 #B69830 #D1B552 #DECA82 #EBDEB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1B552#FFFFFF#000000##000000
##D1B5521.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)
#C6B248
Deuteranopia (green-blind)
#CDBA56
Tritanopia (blue-blind)
#E1A89F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d1b552;
/* rgb */ color: rgb(209, 181, 82);
/* oklch */ color: oklch(77.8% 0.122 93.6);
Tailwind
colors: {
  custom: {
    50: '#e2ca86',
    500: '#d1b552',
    950: '#000000',
  },
}
SCSS
$custom: #d1b552;
$custom-light: #e2ca86;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b552",
  "rgb": {
    "r": 209,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 46.772,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77822,
    "c": 0.1224,
    "h": 93.6
  },
  "luminance": 0.47212
}

Semantic roles & 50–950 ramp

primary
#D1B552
secondary
#A6B1D9
accent
#69E147
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B552

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

Preview Lab → · Contrast checker → · Palette generator →

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