#D5BA4A#D5BA4A

#D5BA4A is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.1% C 0.133 H 95.6°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#D5BA4A
RGBrgb(213, 186, 74)
HSLhsl(48, 62%, 56%)
HSVhsv(48, 65%, 84%)
CMYKcmyk(0%, 12.7%, 65.3%, 16.5%)
CIE-LABlab(75.92, -2.98, 58.40)
CIE-LCHlch(75.92, 58.47, 92.92°)
OKLaboklab(79.15% -0.0129 0.1324)
OKLCHoklch(79.15% 0.133 95.6)
XYZxyz(46.2377, 49.7607, 13.6465)
Luminance0.4976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BA4A #4A65D5
analogous
#D5754A #D5BA4A #ABD54A
triadic
#D5BA4A #4AD5BA #BA4AD5
tetradic
#D5BA4A #4AD575 #4A65D5 #D54AAB
square
#D5BA4A #4AD575 #4A65D5 #D54AAB
split-complementary
#D5BA4A #4AABD5 #754AD5
monochromatic
#86721F #B79C2B #D5BA4A #E1CD7C #ECE0AD

Accessibility & contrast

On white

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

On black

10.95
#D5BA4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BA4A
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BA4A#FFFFFF#000000##000000
##D5BA4A1.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB63C
Deuteranopia (green-blind)
#D3BF50
Tritanopia (blue-blind)
#E5ACA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d5ba4a;
/* rgb */ color: rgb(213, 186, 74);
/* oklch */ color: oklch(79.1% 0.133 95.6);
Tailwind
colors: {
  custom: {
    50: '#e5ce82',
    500: '#d5ba4a',
    950: '#000000',
  },
}
SCSS
$custom: #d5ba4a;
$custom-light: #e5ce82;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ba4a",
  "rgb": {
    "r": 213,
    "g": 186,
    "b": 74
  },
  "hsl": {
    "h": 48.345,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79147,
    "c": 0.13302,
    "h": 95.6
  },
  "luminance": 0.49758
}

Semantic roles & 50–950 ramp

primary
#D5BA4A
secondary
#A1ACDA
accent
#62E542
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5BA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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