#D5BE42#D5BE42

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

Color values

HEX#D5BE42
RGBrgb(213, 190, 66)
HSLhsl(51, 64%, 55%)
HSVhsv(51, 69%, 84%)
CMYKcmyk(0%, 10.8%, 69%, 16.5%)
CIE-LABlab(76.90, -5.50, 62.71)
CIE-LCHlch(76.90, 62.95, 95.01°)
OKLaboklab(79.9% -0.0211 0.1402)
OKLCHoklch(79.9% 0.142 98.5)
XYZxyz(46.8396, 51.3686, 12.6011)
Luminance0.5137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BE42 #4259D5
analogous
#D57442 #D5BE42 #A3D542
triadic
#D5BE42 #42D5BE #BE42D5
tetradic
#D5BE42 #42D574 #4259D5 #D542A3
square
#D5BE42 #42D574 #4259D5 #D542A3
split-complementary
#D5BE42 #42A3D5 #7442D5
monochromatic
#80711C #B29D28 #D5BE42 #E0CF74 #EBE0A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5BE42#FFFFFF#000000##000000
##D5BE421.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)
#D0B930
Deuteranopia (green-blind)
#D6C149
Tritanopia (blue-blind)
#E5B0A5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d5be42;
/* rgb */ color: rgb(213, 190, 66);
/* oklch */ color: oklch(79.9% 0.142 98.5);
Tailwind
colors: {
  custom: {
    50: '#e6d17d',
    500: '#d5be42',
    950: '#000000',
  },
}
SCSS
$custom: #d5be42;
$custom-light: #e6d17d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5be42",
  "rgb": {
    "r": 213,
    "g": 190,
    "b": 66
  },
  "hsl": {
    "h": 50.612,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79903,
    "c": 0.14178,
    "h": 98.5
  },
  "luminance": 0.51366
}

Semantic roles & 50–950 ramp

primary
#D5BE42
secondary
#344187
accent
#5BE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5BE42

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

Preview Lab → · Contrast checker → · Palette generator →

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