#D5BE40#D5BE40

#D5BE40 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.9% C 0.143 H 98.7°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#D5BE40
RGBrgb(213, 190, 64)
HSLhsl(51, 64%, 54%)
HSVhsv(51, 70%, 84%)
CMYKcmyk(0%, 10.8%, 70%, 16.5%)
CIE-LABlab(76.89, -5.60, 63.48)
CIE-LCHlch(76.89, 63.73, 95.05°)
OKLaboklab(79.89% -0.0216 0.1415)
OKLCHoklch(79.89% 0.143 98.7)
XYZxyz(46.7816, 51.3455, 12.2960)
Luminance0.5134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BE40 #4057D5
analogous
#D57440 #D5BE40 #A2D540
triadic
#D5BE40 #40D5BE #BE40D5
tetradic
#D5BE40 #40D574 #4057D5 #D540A2
square
#D5BE40 #40D574 #4057D5 #D540A2
split-complementary
#D5BE40 #40A2D5 #7440D5
monochromatic
#7F6F1C #B19C27 #D5BE40 #E0CF72 #EBE0A4

Accessibility & contrast

On white

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

On black

11.27
#D5BE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BE40
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BE40#FFFFFF#000000##000000
##D5BE401.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92D
Deuteranopia (green-blind)
#D6C148
Tritanopia (blue-blind)
#E5B0A5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d5be40;
/* rgb */ color: rgb(213, 190, 64);
/* oklch */ color: oklch(79.9% 0.143 98.7);
Tailwind
colors: {
  custom: {
    50: '#e6d17c',
    500: '#d5be40',
    950: '#000000',
  },
}
SCSS
$custom: #d5be40;
$custom-light: #e6d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5be40",
  "rgb": {
    "r": 213,
    "g": 190,
    "b": 64
  },
  "hsl": {
    "h": 50.738,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79887,
    "c": 0.14312,
    "h": 98.7
  },
  "luminance": 0.51343
}

Semantic roles & 50–950 ramp

primary
#D5BE40
secondary
#334086
accent
#5AE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5BE40

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

Preview Lab → · Contrast checker → · Palette generator →

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