#D1BC52#D1BC52

#D1BC52 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.3% C 0.128 H 98.2°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#D1BC52
RGBrgb(209, 188, 82)
HSLhsl(50, 58%, 57%)
HSVhsv(50, 61%, 82%)
CMYKcmyk(0%, 10%, 60.8%, 18%)
CIE-LABlab(76.15, -5.20, 55.03)
CIE-LCHlch(76.15, 55.27, 95.40°)
OKLaboklab(79.27% -0.0181 0.1265)
OKLCHoklch(79.27% 0.128 98.2)
XYZxyz(45.8026, 50.1330, 15.2450)
Luminance0.5013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BC52 #5267D1
analogous
#D17D52 #D1BC52 #A6D152
triadic
#D1BC52 #52D1BC #BC52D1
tetradic
#D1BC52 #52D17D #5267D1 #D152A6
square
#D1BC52 #52D17D #5267D1 #D152A6
split-complementary
#D1BC52 #52A6D1 #7D52D1
monochromatic
#857523 #B69F30 #D1BC52 #DECF82 #EBE1B3

Accessibility & contrast

On white

1.90
#D1BC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#D1BC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BC52
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BC52#FFFFFF#000000##000000
##D1BC521.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB846
Deuteranopia (green-blind)
#D2BF57
Tritanopia (blue-blind)
#E0AFA5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d1bc52;
/* rgb */ color: rgb(209, 188, 82);
/* oklch */ color: oklch(79.3% 0.128 98.2);
Tailwind
colors: {
  custom: {
    50: '#e2cf87',
    500: '#d1bc52',
    950: '#000000',
  },
}
SCSS
$custom: #d1bc52;
$custom-light: #e2cf87;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bc52",
  "rgb": {
    "r": 209,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 50.079,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79265,
    "c": 0.12778,
    "h": 98.2
  },
  "luminance": 0.50131
}

Semantic roles & 50–950 ramp

primary
#D1BC52
secondary
#3B498C
accent
#60E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D1BC52

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

Preview Lab → · Contrast checker → · Palette generator →

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