#D5B145#D5B145

#D5B145 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.3% C 0.131 H 90.4°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#D5B145
RGBrgb(213, 177, 69)
HSLhsl(45, 63%, 55%)
HSVhsv(45, 68%, 84%)
CMYKcmyk(0%, 16.9%, 67.6%, 16.5%)
CIE-LABlab(73.56, 1.45, 58.04)
CIE-LCHlch(73.56, 58.06, 88.57°)
OKLaboklab(77.27% -0.0008 0.1308)
OKLCHoklch(77.27% 0.131 90.4)
XYZxyz(44.2392, 46.0227, 12.1822)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B145 #4569D5
analogous
#D56945 #D5B145 #B1D545
triadic
#D5B145 #45D5B1 #B145D5
tetradic
#D5B145 #45D569 #4569D5 #D545B1
square
#D5B145 #45D569 #4569D5 #D545B1
split-complementary
#D5B145 #45B1D5 #6945D5
monochromatic
#82691D #B49129 #D5B145 #E0C677 #ECDBA9

Accessibility & contrast

On white

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

On black

10.20
#D5B145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B145
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B145#FFFFFF#000000##000000
##D5B1451.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5b145;
/* rgb */ color: rgb(213, 177, 69);
/* oklch */ color: oklch(77.3% 0.131 90.4);
Tailwind
colors: {
  custom: {
    50: '#e6c87e',
    500: '#d5b145',
    950: '#000000',
  },
}
SCSS
$custom: #d5b145;
$custom-light: #e6c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b145",
  "rgb": {
    "r": 213,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 45,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77268,
    "c": 0.13084,
    "h": 90.4
  },
  "luminance": 0.4602
}

Semantic roles & 50–950 ramp

primary
#D5B145
secondary
#9DACD9
accent
#6BE642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B145

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

Preview Lab → · Contrast checker → · Palette generator →

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