#D1BB52#D1BB52

#D1BB52 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.1% C 0.127 H 97.5°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#D1BB52
RGBrgb(209, 187, 82)
HSLhsl(50, 58%, 57%)
HSVhsv(50, 61%, 82%)
CMYKcmyk(0%, 10.5%, 60.8%, 18%)
CIE-LABlab(75.89, -4.68, 54.74)
CIE-LCHlch(75.89, 54.94, 94.89°)
OKLaboklab(79.06% -0.0166 0.1259)
OKLCHoklch(79.06% 0.127 97.5)
XYZxyz(45.5897, 49.7072, 15.1741)
Luminance0.4970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BB52 #5268D1
analogous
#D17B52 #D1BB52 #A8D152
triadic
#D1BB52 #52D1BB #BB52D1
tetradic
#D1BB52 #52D17B #5268D1 #D152A8
square
#D1BB52 #52D17B #5268D1 #D152A8
split-complementary
#D1BB52 #52A8D1 #7B52D1
monochromatic
#857423 #B69E30 #D1BB52 #DECE82 #EBE1B3

Accessibility & contrast

On white

1.92
#D1BB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#D1BB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BB52
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BB52#FFFFFF#000000##000000
##D1BB521.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB747
Deuteranopia (green-blind)
#D2BE57
Tritanopia (blue-blind)
#E0AEA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d1bb52;
/* rgb */ color: rgb(209, 187, 82);
/* oklch */ color: oklch(79.1% 0.127 97.5);
Tailwind
colors: {
  custom: {
    50: '#e2cf86',
    500: '#d1bb52',
    950: '#000000',
  },
}
SCSS
$custom: #d1bb52;
$custom-light: #e2cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bb52",
  "rgb": {
    "r": 209,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 49.606,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79057,
    "c": 0.12697,
    "h": 97.5
  },
  "luminance": 0.49705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1BB52

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

Preview Lab → · Contrast checker → · Palette generator →

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