#D5B539#D5B539

#D5B539 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 78.0% C 0.141 H 94.0°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#D5B539
RGBrgb(213, 181, 57)
HSLhsl(48, 65%, 53%)
HSVhsv(48, 73%, 84%)
CMYKcmyk(0%, 15%, 73.2%, 16.5%)
CIE-LABlab(74.50, -1.25, 63.80)
CIE-LCHlch(74.50, 63.81, 91.13°)
OKLaboklab(77.99% -0.0099 0.1409)
OKLCHoklch(77.99% 0.141 94)
XYZxyz(44.7054, 47.4918, 10.6822)
Luminance0.4749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B539 #3959D5
analogous
#D56739 #D5B539 #A7D539
triadic
#D5B539 #39D5B5 #B539D5
tetradic
#D5B539 #39D567 #3959D5 #D539A7
square
#D5B539 #39D567 #3959D5 #D539A7
split-complementary
#D5B539 #39A7D5 #6739D5
monochromatic
#7A661A #AC9025 #D5B539 #E0C86B #EADB9E

Accessibility & contrast

On white

2.00
#D5B539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#D5B539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B539
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B539#FFFFFF#000000##000000
##D5B5391.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B225
Deuteranopia (green-blind)
#D0BB40
Tritanopia (blue-blind)
#E6A79D
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d5b539;
/* rgb */ color: rgb(213, 181, 57);
/* oklch */ color: oklch(78.0% 0.141 94.0);
Tailwind
colors: {
  custom: {
    50: '#e6ca78',
    500: '#d5b539',
    950: '#000000',
  },
}
SCSS
$custom: #d5b539;
$custom-light: #e6ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b539",
  "rgb": {
    "r": 213,
    "g": 181,
    "b": 57
  },
  "hsl": {
    "h": 47.692,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77985,
    "c": 0.14123,
    "h": 94
  },
  "luminance": 0.47489
}

Semantic roles & 50–950 ramp

primary
#D5B539
secondary
#93A1D7
accent
#62E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D5B539

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

Preview Lab → · Contrast checker → · Palette generator →

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