#D5B039#D5B039

#D5B039 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 77.0% C 0.138 H 91.0°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#D5B039
RGBrgb(213, 176, 57)
HSLhsl(46, 65%, 53%)
HSVhsv(46, 73%, 84%)
CMYKcmyk(0%, 17.4%, 73.2%, 16.5%)
CIE-LABlab(73.22, 1.37, 62.55)
CIE-LCHlch(73.22, 62.56, 88.74°)
OKLaboklab(76.97% -0.0024 0.1382)
OKLCHoklch(76.97% 0.138 91)
XYZxyz(43.7069, 45.4949, 10.3494)
Luminance0.4549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B039 #395ED5
analogous
#D56239 #D5B039 #ACD539
triadic
#D5B039 #39D5B0 #B039D5
tetradic
#D5B039 #39D562 #395ED5 #D539AC
square
#D5B039 #39D562 #395ED5 #D539AC
split-complementary
#D5B039 #39ACD5 #6239D5
monochromatic
#7A631A #AC8C25 #D5B039 #E0C46B #EAD89E

Accessibility & contrast

On white

2.08
#D5B039 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#D5B039 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B039
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B039#FFFFFF#000000##000000
##D5B0391.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE26
Deuteranopia (green-blind)
#CDB83F
Tritanopia (blue-blind)
#E6A198
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d5b039;
/* rgb */ color: rgb(213, 176, 57);
/* oklch */ color: oklch(77.0% 0.138 91.0);
Tailwind
colors: {
  custom: {
    50: '#e6c777',
    500: '#d5b039',
    950: '#000000',
  },
}
SCSS
$custom: #d5b039;
$custom-light: #e6c777;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b039",
  "rgb": {
    "r": 213,
    "g": 176,
    "b": 57
  },
  "hsl": {
    "h": 45.769,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76969,
    "c": 0.13824,
    "h": 91
  },
  "luminance": 0.45492
}

Semantic roles & 50–950 ramp

primary
#D5B039
secondary
#93A3D7
accent
#68E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D5B039

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

Preview Lab → · Contrast checker → · Palette generator →

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