#D5BE4B#D5BE4B

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

Color values

HEX#D5BE4B
RGBrgb(213, 190, 75)
HSLhsl(50, 62%, 56%)
HSVhsv(50, 65%, 84%)
CMYKcmyk(0%, 10.8%, 64.8%, 16.5%)
CIE-LABlab(76.97, -5.00, 59.09)
CIE-LCHlch(76.97, 59.30, 94.83°)
OKLaboklab(79.98% -0.0186 0.134)
OKLCHoklch(79.98% 0.135 97.9)
XYZxyz(47.1261, 51.4833, 14.1102)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BE4B #4B62D5
analogous
#D5794B #D5BE4B #A7D54B
triadic
#D5BE4B #4BD5BE #BE4BD5
tetradic
#D5BE4B #4BD579 #4B62D5 #D54BA7
square
#D5BE4B #4BD579 #4B62D5 #D54BA7
split-complementary
#D5BE4B #4BA7D5 #794BD5
monochromatic
#86751F #B8A02B #D5BE4B #E1D07D #ECE2AE

Accessibility & contrast

On white

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

On black

11.30
#D5BE4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BE4B
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BE4B#FFFFFF#000000##000000
##D5BE4B1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B93D
Deuteranopia (green-blind)
#D6C151
Tritanopia (blue-blind)
#E5B1A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d5be4b;
/* rgb */ color: rgb(213, 190, 75);
/* oklch */ color: oklch(80.0% 0.135 97.9);
Tailwind
colors: {
  custom: {
    50: '#e5d182',
    500: '#d5be4b',
    950: '#000000',
  },
}
SCSS
$custom: #d5be4b;
$custom-light: #e5d182;
$custom-dark: #000000;
JSON
{
  "hex": "#d5be4b",
  "rgb": {
    "r": 213,
    "g": 190,
    "b": 75
  },
  "hsl": {
    "h": 50,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79979,
    "c": 0.13529,
    "h": 97.9
  },
  "luminance": 0.51481
}

Semantic roles & 50–950 ramp

primary
#D5BE4B
secondary
#37468D
accent
#5EE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5BE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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