#D5B950#D5B950

#D5B950 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 79.0% C 0.128 H 94.3°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#D5B950
RGBrgb(213, 185, 80)
HSLhsl(47, 61%, 57%)
HSVhsv(47, 62%, 84%)
CMYKcmyk(0%, 13.1%, 62.4%, 16.5%)
CIE-LABlab(75.72, -2.08, 55.55)
CIE-LCHlch(75.72, 55.59, 92.15°)
OKLaboklab(79% -0.0096 0.1272)
OKLCHoklch(79% 0.128 94.3)
XYZxyz(46.2396, 49.4256, 14.6924)
Luminance0.4942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B950 #506CD5
analogous
#D57650 #D5B950 #AFD550
triadic
#D5B950 #50D5B9 #B950D5
tetradic
#D5B950 #50D576 #506CD5 #D550AF
square
#D5B950 #50D576 #506CD5 #D550AF
split-complementary
#D5B950 #50AFD5 #7650D5
monochromatic
#8A7421 #BB9D2D #D5B950 #E1CD81 #EDE0B3

Accessibility & contrast

On white

1.93
#D5B950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#D5B950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B950
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B950#FFFFFF#000000##000000
##D5B9501.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB644
Deuteranopia (green-blind)
#D2BE55
Tritanopia (blue-blind)
#E5ACA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d5b950;
/* rgb */ color: rgb(213, 185, 80);
/* oklch */ color: oklch(79.0% 0.128 94.3);
Tailwind
colors: {
  custom: {
    50: '#e5cd85',
    500: '#d5b950',
    950: '#000000',
  },
}
SCSS
$custom: #d5b950;
$custom-light: #e5cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b950",
  "rgb": {
    "r": 213,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 47.368,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79,
    "c": 0.12759,
    "h": 94.3
  },
  "luminance": 0.49423
}

Semantic roles & 50–950 ramp

primary
#D5B950
secondary
#A6B1DB
accent
#65E443
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B950

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

Preview Lab → · Contrast checker → · Palette generator →

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