#D5BE4A#D5BE4A

#D5BE4A is a light, vivid yellow. Relative luminance 0.515; OKLCH L 80.0% C 0.136 H 98.0°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#D5BE4A
RGBrgb(213, 190, 74)
HSLhsl(50, 62%, 56%)
HSVhsv(50, 65%, 84%)
CMYKcmyk(0%, 10.8%, 65.3%, 16.5%)
CIE-LABlab(76.96, -5.05, 59.50)
CIE-LCHlch(76.96, 59.71, 94.86°)
OKLaboklab(79.97% -0.0189 0.1347)
OKLCHoklch(79.97% 0.136 98)
XYZxyz(47.0922, 51.4697, 13.9314)
Luminance0.5147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BE4A #4A61D5
analogous
#D5794A #D5BE4A #A7D54A
triadic
#D5BE4A #4AD5BE #BE4AD5
tetradic
#D5BE4A #4AD579 #4A61D5 #D54AA7
square
#D5BE4A #4AD579 #4A61D5 #D54AA7
split-complementary
#D5BE4A #4AA7D5 #794AD5
monochromatic
#86751F #B7A02B #D5BE4A #E1D07C #ECE2AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5BE4A#FFFFFF#000000##000000
##D5BE4A1.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)
#D0B93C
Deuteranopia (green-blind)
#D6C150
Tritanopia (blue-blind)
#E5B1A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d5be4a;
/* rgb */ color: rgb(213, 190, 74);
/* oklch */ color: oklch(80.0% 0.136 98.0);
Tailwind
colors: {
  custom: {
    50: '#e5d182',
    500: '#d5be4a',
    950: '#000000',
  },
}
SCSS
$custom: #d5be4a;
$custom-light: #e5d182;
$custom-dark: #000000;
JSON
{
  "hex": "#d5be4a",
  "rgb": {
    "r": 213,
    "g": 190,
    "b": 74
  },
  "hsl": {
    "h": 50.072,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7997,
    "c": 0.13605,
    "h": 98
  },
  "luminance": 0.51467
}

Semantic roles & 50–950 ramp

primary
#D5BE4A
secondary
#37458C
accent
#5DE542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5BE4A

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

Preview Lab → · Contrast checker → · Palette generator →

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