#D5BE51#D5BE51

#D5BE51 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.0% C 0.131 H 97.4°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#D5BE51
RGBrgb(213, 190, 81)
HSLhsl(50, 61%, 58%)
HSVhsv(50, 62%, 84%)
CMYKcmyk(0%, 10.8%, 62%, 16.5%)
CIE-LABlab(77.02, -4.62, 56.53)
CIE-LCHlch(77.02, 56.72, 94.67°)
OKLaboklab(80.04% -0.0168 0.1295)
OKLCHoklch(80.04% 0.131 97.4)
XYZxyz(47.3412, 51.5693, 15.2432)
Luminance0.5157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BE51 #5168D5
analogous
#D57C51 #D5BE51 #AAD551
triadic
#D5BE51 #51D5BE #BE51D5
tetradic
#D5BE51 #51D57C #5168D5 #D551AA
square
#D5BE51 #51D57C #5168D5 #D551AA
split-complementary
#D5BE51 #51AAD5 #7C51D5
monochromatic
#8A7821 #BCA32D #D5BE51 #E1D082 #EDE3B4

Accessibility & contrast

On white

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

On black

11.31
#D5BE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BE51
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BE51#FFFFFF#000000##000000
##D5BE511.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA45
Deuteranopia (green-blind)
#D5C256
Tritanopia (blue-blind)
#E5B1A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d5be51;
/* rgb */ color: rgb(213, 190, 81);
/* oklch */ color: oklch(80.0% 0.131 97.4);
Tailwind
colors: {
  custom: {
    50: '#e5d186',
    500: '#d5be51',
    950: '#000000',
  },
}
SCSS
$custom: #d5be51;
$custom-light: #e5d186;
$custom-dark: #000000;
JSON
{
  "hex": "#d5be51",
  "rgb": {
    "r": 213,
    "g": 190,
    "b": 81
  },
  "hsl": {
    "h": 49.545,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80037,
    "c": 0.13056,
    "h": 97.4
  },
  "luminance": 0.51567
}

Semantic roles & 50–950 ramp

primary
#D5BE51
secondary
#3A4990
accent
#60E444
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5BE51

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

Preview Lab → · Contrast checker → · Palette generator →

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