#D5BA39#D5BA39

#D5BA39 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 79.0% C 0.145 H 96.9°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#D5BA39
RGBrgb(213, 186, 57)
HSLhsl(50, 65%, 53%)
HSVhsv(50, 73%, 84%)
CMYKcmyk(0%, 12.7%, 73.2%, 16.5%)
CIE-LABlab(75.80, -3.86, 65.05)
CIE-LCHlch(75.80, 65.16, 93.40°)
OKLaboklab(79.01% -0.0174 0.1435)
OKLCHoklch(79.01% 0.145 96.9)
XYZxyz(45.7403, 49.5618, 11.0272)
Luminance0.4956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BA39 #3954D5
analogous
#D56C39 #D5BA39 #A2D539
triadic
#D5BA39 #39D5BA #BA39D5
tetradic
#D5BA39 #39D56C #3954D5 #D539A2
square
#D5BA39 #39D56C #3954D5 #D539A2
split-complementary
#D5BA39 #39A2D5 #6C39D5
monochromatic
#7A691A #AC9525 #D5BA39 #E0CC6B #EADD9E

Accessibility & contrast

On white

1.92
#D5BA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#D5BA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BA39
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BA39#FFFFFF#000000##000000
##D5BA391.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB623
Deuteranopia (green-blind)
#D4BF41
Tritanopia (blue-blind)
#E6ACA1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d5ba39;
/* rgb */ color: rgb(213, 186, 57);
/* oklch */ color: oklch(79.0% 0.145 96.9);
Tailwind
colors: {
  custom: {
    50: '#e6ce78',
    500: '#d5ba39',
    950: '#000000',
  },
}
SCSS
$custom: #d5ba39;
$custom-light: #e6ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ba39",
  "rgb": {
    "r": 213,
    "g": 186,
    "b": 57
  },
  "hsl": {
    "h": 49.615,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7901,
    "c": 0.14458,
    "h": 96.9
  },
  "luminance": 0.49559
}

Semantic roles & 50–950 ramp

primary
#D5BA39
secondary
#939FD7
accent
#5DE840
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D5BA39

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

Preview Lab → · Contrast checker → · Palette generator →

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