#D5B13F#D5B13F

#D5B13F is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.2% C 0.135 H 91.0°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#D5B13F
RGBrgb(213, 177, 63)
HSLhsl(46, 64%, 54%)
HSVhsv(46, 70%, 84%)
CMYKcmyk(0%, 16.9%, 70.4%, 16.5%)
CIE-LABlab(73.51, 1.13, 60.49)
CIE-LCHlch(73.51, 60.50, 88.93°)
OKLaboklab(77.22% -0.0024 0.135)
OKLCHoklch(77.22% 0.135 91)
XYZxyz(44.0623, 45.9519, 11.2505)
Luminance0.4595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B13F #3F63D5
analogous
#D5663F #D5B13F #AED53F
triadic
#D5B13F #3FD5B1 #B13FD5
tetradic
#D5B13F #3FD566 #3F63D5 #D53FAE
square
#D5B13F #3FD566 #3F63D5 #D53FAE
split-complementary
#D5B13F #3FAED5 #663FD5
monochromatic
#7E661C #B08F27 #D5B13F #E0C571 #EBDAA3

Accessibility & contrast

On white

2.06
#D5B13F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#D5B13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B13F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B13F#FFFFFF#000000##000000
##D5B13F1.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF2F
Deuteranopia (green-blind)
#CDB945
Tritanopia (blue-blind)
#E6A39A
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d5b13f;
/* rgb */ color: rgb(213, 177, 63);
/* oklch */ color: oklch(77.2% 0.135 91.0);
Tailwind
colors: {
  custom: {
    50: '#e6c87a',
    500: '#d5b13f',
    950: '#000000',
  },
}
SCSS
$custom: #d5b13f;
$custom-light: #e6c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b13f",
  "rgb": {
    "r": 213,
    "g": 177,
    "b": 63
  },
  "hsl": {
    "h": 45.6,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77217,
    "c": 0.13499,
    "h": 91
  },
  "luminance": 0.45949
}

Semantic roles & 50–950 ramp

primary
#D5B13F
secondary
#98A7D8
accent
#69E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B13F

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

Preview Lab → · Contrast checker → · Palette generator →

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