#D5BF51#D5BF51

#D5BF51 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.131 H 98.0°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#D5BF51
RGBrgb(213, 191, 81)
HSLhsl(50, 61%, 58%)
HSVhsv(50, 62%, 84%)
CMYKcmyk(0%, 10.3%, 62%, 16.5%)
CIE-LABlab(77.28, -5.13, 56.82)
CIE-LCHlch(77.28, 57.05, 95.16°)
OKLaboklab(80.24% -0.0183 0.1301)
OKLCHoklch(80.24% 0.131 98)
XYZxyz(47.5586, 52.0040, 15.3157)
Luminance0.5200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BF51 #5167D5
analogous
#D57D51 #D5BF51 #A9D551
triadic
#D5BF51 #51D5BF #BF51D5
tetradic
#D5BF51 #51D57D #5167D5 #D551A9
square
#D5BF51 #51D57D #5167D5 #D551A9
split-complementary
#D5BF51 #51A9D5 #7D51D5
monochromatic
#8A7921 #BCA42D #D5BF51 #E1D182 #EDE3B4

Accessibility & contrast

On white

1.84
#D5BF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#D5BF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BF51
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BF51#FFFFFF#000000##000000
##D5BF511.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB45
Deuteranopia (green-blind)
#D6C257
Tritanopia (blue-blind)
#E5B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d5bf51;
/* rgb */ color: rgb(213, 191, 81);
/* oklch */ color: oklch(80.2% 0.131 98.0);
Tailwind
colors: {
  custom: {
    50: '#e5d286',
    500: '#d5bf51',
    950: '#000000',
  },
}
SCSS
$custom: #d5bf51;
$custom-light: #e5d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bf51",
  "rgb": {
    "r": 213,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 50,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80243,
    "c": 0.13135,
    "h": 98
  },
  "luminance": 0.52002
}

Semantic roles & 50–950 ramp

primary
#D5BF51
secondary
#3A4890
accent
#5EE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D5BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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