#D5BA50#D5BA50

#D5BA50 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.2% C 0.128 H 95.0°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#D5BA50
RGBrgb(213, 186, 80)
HSLhsl(48, 61%, 57%)
HSVhsv(48, 62%, 84%)
CMYKcmyk(0%, 12.7%, 62.4%, 16.5%)
CIE-LABlab(75.97, -2.60, 55.83)
CIE-LCHlch(75.97, 55.89, 92.67°)
OKLaboklab(79.21% -0.0112 0.1278)
OKLCHoklch(79.21% 0.128 95)
XYZxyz(46.4495, 49.8454, 14.7624)
Luminance0.4984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BA50 #506BD5
analogous
#D57850 #D5BA50 #ADD550
triadic
#D5BA50 #50D5BA #BA50D5
tetradic
#D5BA50 #50D578 #506BD5 #D550AD
square
#D5BA50 #50D578 #506BD5 #D550AD
split-complementary
#D5BA50 #50ADD5 #7850D5
monochromatic
#8A7421 #BB9E2D #D5BA50 #E1CD81 #EDE1B3

Accessibility & contrast

On white

1.91
#D5BA50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#D5BA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BA50
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BA50#FFFFFF#000000##000000
##D5BA501.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB644
Deuteranopia (green-blind)
#D3BF55
Tritanopia (blue-blind)
#E5ADA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d5ba50;
/* rgb */ color: rgb(213, 186, 80);
/* oklch */ color: oklch(79.2% 0.128 95.0);
Tailwind
colors: {
  custom: {
    50: '#e5ce85',
    500: '#d5ba50',
    950: '#000000',
  },
}
SCSS
$custom: #d5ba50;
$custom-light: #e5ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ba50",
  "rgb": {
    "r": 213,
    "g": 186,
    "b": 80
  },
  "hsl": {
    "h": 47.82,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79205,
    "c": 0.12832,
    "h": 95
  },
  "luminance": 0.49843
}

Semantic roles & 50–950 ramp

primary
#D5BA50
secondary
#A6B0DB
accent
#64E443
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5BA50

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

Preview Lab → · Contrast checker → · Palette generator →

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