#D5B13C#D5B13C

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

Color values

HEX#D5B13C
RGBrgb(213, 177, 60)
HSLhsl(46, 65%, 54%)
HSVhsv(46, 72%, 84%)
CMYKcmyk(0%, 16.9%, 71.8%, 16.5%)
CIE-LABlab(73.49, 0.99, 61.66)
CIE-LCHlch(73.49, 61.67, 89.08°)
OKLaboklab(77.19% -0.0032 0.1369)
OKLCHoklch(77.19% 0.137 91.3)
XYZxyz(43.9807, 45.9193, 10.8209)
Luminance0.4592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B13C #3C60D5
analogous
#D5643C #D5B13C #ADD53C
triadic
#D5B13C #3CD5B1 #B13CD5
tetradic
#D5B13C #3CD564 #3C60D5 #D53CAD
square
#D5B13C #3CD564 #3C60D5 #D53CAD
split-complementary
#D5B13C #3CADD5 #643CD5
monochromatic
#7C651B #AE8E26 #D5B13C #E0C56E #EBD9A1

Accessibility & contrast

On white

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

On black

10.18
#D5B13C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B13C
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B13C#FFFFFF#000000##000000
##D5B13C1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF2B
Deuteranopia (green-blind)
#CDB942
Tritanopia (blue-blind)
#E6A29A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d5b13c;
/* rgb */ color: rgb(213, 177, 60);
/* oklch */ color: oklch(77.2% 0.137 91.3);
Tailwind
colors: {
  custom: {
    50: '#e6c779',
    500: '#d5b13c',
    950: '#000000',
  },
}
SCSS
$custom: #d5b13c;
$custom-light: #e6c779;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b13c",
  "rgb": {
    "r": 213,
    "g": 177,
    "b": 60
  },
  "hsl": {
    "h": 45.882,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77194,
    "c": 0.13695,
    "h": 91.3
  },
  "luminance": 0.45917
}

Semantic roles & 50–950 ramp

primary
#D5B13C
secondary
#96A5D7
accent
#68E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D5B13C

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

Preview Lab → · Contrast checker → · Palette generator →

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