#D5BA41#D5BA41

#D5BA41 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 79.1% C 0.139 H 96.3°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#D5BA41
RGBrgb(213, 186, 65)
HSLhsl(49, 64%, 55%)
HSVhsv(49, 69%, 84%)
CMYKcmyk(0%, 12.7%, 69.5%, 16.5%)
CIE-LABlab(75.85, -3.48, 62.05)
CIE-LCHlch(75.85, 62.14, 93.21°)
OKLaboklab(79.07% -0.0154 0.1386)
OKLCHoklch(79.07% 0.139 96.3)
XYZxyz(45.9559, 49.6480, 12.1624)
Luminance0.4965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BA41 #415CD5
analogous
#D57041 #D5BA41 #A6D541
triadic
#D5BA41 #41D5BA #BA41D5
tetradic
#D5BA41 #41D570 #415CD5 #D541A6
square
#D5BA41 #41D570 #415CD5 #D541A6
split-complementary
#D5BA41 #41A6D5 #7041D5
monochromatic
#7F6D1C #B29827 #D5BA41 #E0CC73 #EBDEA5

Accessibility & contrast

On white

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

On black

10.93
#D5BA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BA41
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BA41#FFFFFF#000000##000000
##D5BA411.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5ba41;
/* rgb */ color: rgb(213, 186, 65);
/* oklch */ color: oklch(79.1% 0.139 96.3);
Tailwind
colors: {
  custom: {
    50: '#e6ce7c',
    500: '#d5ba41',
    950: '#000000',
  },
}
SCSS
$custom: #d5ba41;
$custom-light: #e6ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ba41",
  "rgb": {
    "r": 213,
    "g": 186,
    "b": 65
  },
  "hsl": {
    "h": 49.054,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79069,
    "c": 0.13948,
    "h": 96.3
  },
  "luminance": 0.49646
}

Semantic roles & 50–950 ramp

primary
#D5BA41
secondary
#9AA5D8
accent
#5FE741
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5BA41

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

Preview Lab → · Contrast checker → · Palette generator →

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