#D5BA53#D5BA53

#D5BA53 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.2% C 0.126 H 94.7°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#D5BA53
RGBrgb(213, 186, 83)
HSLhsl(48, 61%, 58%)
HSVhsv(48, 61%, 84%)
CMYKcmyk(0%, 12.7%, 61%, 16.5%)
CIE-LABlab(76.00, -2.40, 54.51)
CIE-LCHlch(76.00, 54.57, 92.52°)
OKLaboklab(79.24% -0.0102 0.1254)
OKLCHoklch(79.24% 0.126 94.7)
XYZxyz(46.5628, 49.8908, 15.3592)
Luminance0.4989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BA53 #536ED5
analogous
#D57953 #D5BA53 #AFD553
triadic
#D5BA53 #53D5BA #BA53D5
tetradic
#D5BA53 #53D579 #536ED5 #D553AF
square
#D5BA53 #53D579 #536ED5 #D553AF
split-complementary
#D5BA53 #53AFD5 #7953D5
monochromatic
#8C7622 #BD9F2E #D5BA53 #E1CE84 #EDE1B5

Accessibility & contrast

On white

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

On black

10.98
#D5BA53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BA53
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BA53#FFFFFF#000000##000000
##D5BA531.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB748
Deuteranopia (green-blind)
#D2BF58
Tritanopia (blue-blind)
#E5ADA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d5ba53;
/* rgb */ color: rgb(213, 186, 83);
/* oklch */ color: oklch(79.2% 0.126 94.7);
Tailwind
colors: {
  custom: {
    50: '#e5ce87',
    500: '#d5ba53',
    950: '#000000',
  },
}
SCSS
$custom: #d5ba53;
$custom-light: #e5ce87;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ba53",
  "rgb": {
    "r": 213,
    "g": 186,
    "b": 83
  },
  "hsl": {
    "h": 47.538,
    "s": 60.748,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79236,
    "c": 0.12585,
    "h": 94.7
  },
  "luminance": 0.49888
}

Semantic roles & 50–950 ramp

primary
#D5BA53
secondary
#A8B3DC
accent
#65E444
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5BA53

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

Preview Lab → · Contrast checker → · Palette generator →

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