#D1BF51#D1BF51

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

Color values

HEX#D1BF51
RGBrgb(209, 191, 81)
HSLhsl(52, 58%, 57%)
HSVhsv(52, 61%, 82%)
CMYKcmyk(0%, 8.6%, 61.2%, 18%)
CIE-LABlab(76.93, -6.82, 56.33)
CIE-LCHlch(76.93, 56.74, 96.90°)
OKLaboklab(79.88% -0.0229 0.1291)
OKLCHoklch(79.88% 0.131 100.1)
XYZxyz(46.4123, 51.4129, 15.2619)
Luminance0.5141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BF51 #5163D1
analogous
#D17F51 #D1BF51 #A3D151
triadic
#D1BF51 #51D1BF #BF51D1
tetradic
#D1BF51 #51D17F #5163D1 #D151A3
square
#D1BF51 #51D17F #5163D1 #D151A3
split-complementary
#D1BF51 #51A3D1 #7F51D1
monochromatic
#857723 #B5A230 #D1BF51 #DED181 #EBE3B2

Accessibility & contrast

On white

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

On black

11.28
#D1BF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BF51
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BF51#FFFFFF#000000##000000
##D1BF511.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1bf51;
/* rgb */ color: rgb(209, 191, 81);
/* oklch */ color: oklch(79.9% 0.131 100.1);
Tailwind
colors: {
  custom: {
    50: '#e2d286',
    500: '#d1bf51',
    950: '#000000',
  },
}
SCSS
$custom: #d1bf51;
$custom-light: #e2d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bf51",
  "rgb": {
    "r": 209,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 51.563,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79878,
    "c": 0.13114,
    "h": 100.1
  },
  "luminance": 0.51411
}

Semantic roles & 50–950 ramp

primary
#D1BF51
secondary
#3B468B
accent
#5CE146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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