#D5B550#D5B550

#D5B550 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.2% C 0.125 H 91.7°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#D5B550
RGBrgb(213, 181, 80)
HSLhsl(46, 61%, 57%)
HSVhsv(46, 62%, 84%)
CMYKcmyk(0%, 15%, 62.4%, 16.5%)
CIE-LABlab(74.68, 0.02, 54.41)
CIE-LCHlch(74.68, 54.41, 89.98°)
OKLaboklab(78.19% -0.0036 0.1248)
OKLCHoklch(78.19% 0.125 91.7)
XYZxyz(45.4146, 47.7755, 14.4174)
Luminance0.4777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B550 #5070D5
analogous
#D57350 #D5B550 #B2D550
triadic
#D5B550 #50D5B5 #B550D5
tetradic
#D5B550 #50D573 #5070D5 #D550B2
square
#D5B550 #50D573 #5070D5 #D550B2
split-complementary
#D5B550 #50B2D5 #7350D5
monochromatic
#8A7021 #BB992D #D5B550 #E1CA81 #EDDFB3

Accessibility & contrast

On white

1.99
#D5B550 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#D5B550 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B550
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B550#FFFFFF#000000##000000
##D5B5501.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B245
Deuteranopia (green-blind)
#CFBC54
Tritanopia (blue-blind)
#E5A89F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d5b550;
/* rgb */ color: rgb(213, 181, 80);
/* oklch */ color: oklch(78.2% 0.125 91.7);
Tailwind
colors: {
  custom: {
    50: '#e5ca85',
    500: '#d5b550',
    950: '#000000',
  },
}
SCSS
$custom: #d5b550;
$custom-light: #e5ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b550",
  "rgb": {
    "r": 213,
    "g": 181,
    "b": 80
  },
  "hsl": {
    "h": 45.564,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.78185,
    "c": 0.12485,
    "h": 91.7
  },
  "luminance": 0.47773
}

Semantic roles & 50–950 ramp

primary
#D5B550
secondary
#A6B2DB
accent
#6AE443
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B550

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

Preview Lab → · Contrast checker → · Palette generator →

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