#D5B245#D5B245

#D5B245 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.5% C 0.131 H 91.0°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#D5B245
RGBrgb(213, 178, 69)
HSLhsl(45, 63%, 55%)
HSVhsv(45, 68%, 84%)
CMYKcmyk(0%, 16.4%, 67.6%, 16.5%)
CIE-LABlab(73.82, 0.93, 58.31)
CIE-LCHlch(73.82, 58.32, 89.09°)
OKLaboklab(77.47% -0.0023 0.1314)
OKLCHoklch(77.47% 0.131 91)
XYZxyz(44.4375, 46.4192, 12.2483)
Luminance0.4642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B245 #4568D5
analogous
#D56A45 #D5B245 #B0D545
triadic
#D5B245 #45D5B2 #B245D5
tetradic
#D5B245 #45D56A #4568D5 #D545B0
square
#D5B245 #45D56A #4568D5 #D545B0
split-complementary
#D5B245 #45B0D5 #6A45D5
monochromatic
#826A1D #B49229 #D5B245 #E0C777 #ECDBA9

Accessibility & contrast

On white

2.04
#D5B245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#D5B245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B245
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B245#FFFFFF#000000##000000
##D5B2451.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B037
Deuteranopia (green-blind)
#CEBA4A
Tritanopia (blue-blind)
#E6A49B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d5b245;
/* rgb */ color: rgb(213, 178, 69);
/* oklch */ color: oklch(77.5% 0.131 91.0);
Tailwind
colors: {
  custom: {
    50: '#e6c87e',
    500: '#d5b245',
    950: '#000000',
  },
}
SCSS
$custom: #d5b245;
$custom-light: #e6c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b245",
  "rgb": {
    "r": 213,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 45.417,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.7747,
    "c": 0.13143,
    "h": 91
  },
  "luminance": 0.46417
}

Semantic roles & 50–950 ramp

primary
#D5B245
secondary
#9DABD9
accent
#6AE642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B245

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

Preview Lab → · Contrast checker → · Palette generator →

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