#D5BA4B#D5BA4B

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

Color values

HEX#D5BA4B
RGBrgb(213, 186, 75)
HSLhsl(48, 62%, 56%)
HSVhsv(48, 65%, 84%)
CMYKcmyk(0%, 12.7%, 64.8%, 16.5%)
CIE-LABlab(75.93, -2.92, 57.98)
CIE-LCHlch(75.93, 58.05, 92.88°)
OKLaboklab(79.16% -0.0126 0.1317)
OKLCHoklch(79.16% 0.132 95.5)
XYZxyz(46.2716, 49.7743, 13.8254)
Luminance0.4977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BA4B #4B66D5
analogous
#D5754B #D5BA4B #ABD54B
triadic
#D5BA4B #4BD5BA #BA4BD5
tetradic
#D5BA4B #4BD575 #4B66D5 #D54BAB
square
#D5BA4B #4BD575 #4B66D5 #D54BAB
split-complementary
#D5BA4B #4BABD5 #754BD5
monochromatic
#86721F #B89C2B #D5BA4B #E1CD7D #ECE0AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5BA4B#FFFFFF#000000##000000
##D5BA4B1.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)
#CCB63E
Deuteranopia (green-blind)
#D3BF51
Tritanopia (blue-blind)
#E5ADA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d5ba4b;
/* rgb */ color: rgb(213, 186, 75);
/* oklch */ color: oklch(79.2% 0.132 95.5);
Tailwind
colors: {
  custom: {
    50: '#e5ce82',
    500: '#d5ba4b',
    950: '#000000',
  },
}
SCSS
$custom: #d5ba4b;
$custom-light: #e5ce82;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ba4b",
  "rgb": {
    "r": 213,
    "g": 186,
    "b": 75
  },
  "hsl": {
    "h": 48.261,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79156,
    "c": 0.13226,
    "h": 95.5
  },
  "luminance": 0.49772
}

Semantic roles & 50–950 ramp

primary
#D5BA4B
secondary
#A2ADDA
accent
#62E543
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5BA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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