#D5BA58#D5BA58

#D5BA58 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.3% C 0.122 H 94.1°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#D5BA58
RGBrgb(213, 186, 88)
HSLhsl(47, 60%, 59%)
HSVhsv(47, 59%, 84%)
CMYKcmyk(0%, 12.7%, 58.7%, 16.5%)
CIE-LABlab(76.05, -2.05, 52.27)
CIE-LCHlch(76.05, 52.31, 92.25°)
OKLaboklab(79.29% -0.0086 0.1213)
OKLCHoklch(79.29% 0.122 94.1)
XYZxyz(46.7629, 49.9708, 16.4128)
Luminance0.4997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BA58 #5873D5
analogous
#D57C58 #D5BA58 #B2D558
triadic
#D5BA58 #58D5BA #BA58D5
tetradic
#D5BA58 #58D57C #5873D5 #D558B2
square
#D5BA58 #58D57C #5873D5 #D558B2
split-complementary
#D5BA58 #58B2D5 #7C58D5
monochromatic
#8F7824 #C0A130 #D5BA58 #E1CE89 #EEE2BA

Accessibility & contrast

On white

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

On black

10.99
#D5BA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BA58
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BA58#FFFFFF#000000##000000
##D5BA581.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5ba58;
/* rgb */ color: rgb(213, 186, 88);
/* oklch */ color: oklch(79.3% 0.122 94.1);
Tailwind
colors: {
  custom: {
    50: '#e5ce8a',
    500: '#d5ba58',
    950: '#000000',
  },
}
SCSS
$custom: #d5ba58;
$custom-light: #e5ce8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ba58",
  "rgb": {
    "r": 213,
    "g": 186,
    "b": 88
  },
  "hsl": {
    "h": 47.04,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.7929,
    "c": 0.12157,
    "h": 94.1
  },
  "luminance": 0.49969
}

Semantic roles & 50–950 ramp

primary
#D5BA58
secondary
#ACB6DD
accent
#67E345
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D5BA58

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

Preview Lab → · Contrast checker → · Palette generator →

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