#D1BF52#D1BF52

#D1BF52 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.9% C 0.130 H 100.0°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#D1BF52
RGBrgb(209, 191, 82)
HSLhsl(51, 58%, 57%)
HSVhsv(51, 61%, 82%)
CMYKcmyk(0%, 8.6%, 60.8%, 18%)
CIE-LABlab(76.94, -6.75, 55.90)
CIE-LCHlch(76.94, 56.30, 96.89°)
OKLaboklab(79.89% -0.0226 0.1283)
OKLCHoklch(79.89% 0.13 100)
XYZxyz(46.4501, 51.4281, 15.4609)
Luminance0.5143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BF52 #5264D1
analogous
#D18052 #D1BF52 #A4D152
triadic
#D1BF52 #52D1BF #BF52D1
tetradic
#D1BF52 #52D180 #5264D1 #D152A4
square
#D1BF52 #52D180 #5264D1 #D152A4
split-complementary
#D1BF52 #52A4D1 #8052D1
monochromatic
#857723 #B6A330 #D1BF52 #DED182 #EBE3B3

Accessibility & contrast

On white

1.86
#D1BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#D1BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BF52
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BF52#FFFFFF#000000##000000
##D1BF521.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA46
Deuteranopia (green-blind)
#D5C158
Tritanopia (blue-blind)
#E0B2A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d1bf52;
/* rgb */ color: rgb(209, 191, 82);
/* oklch */ color: oklch(79.9% 0.130 100.0);
Tailwind
colors: {
  custom: {
    50: '#e2d287',
    500: '#d1bf52',
    950: '#000000',
  },
}
SCSS
$custom: #d1bf52;
$custom-light: #e2d287;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bf52",
  "rgb": {
    "r": 209,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 51.496,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79888,
    "c": 0.13031,
    "h": 100
  },
  "luminance": 0.51426
}

Semantic roles & 50–950 ramp

primary
#D1BF52
secondary
#3B478C
accent
#5CE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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