#D5BA4F#D5BA4F

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

Color values

HEX#D5BA4F
RGBrgb(213, 186, 79)
HSLhsl(48, 61%, 57%)
HSVhsv(48, 63%, 84%)
CMYKcmyk(0%, 12.7%, 62.9%, 16.5%)
CIE-LABlab(75.97, -2.67, 56.27)
CIE-LCHlch(75.97, 56.33, 92.71°)
OKLaboklab(79.2% -0.0115 0.1286)
OKLCHoklch(79.2% 0.129 95.1)
XYZxyz(46.4129, 49.8308, 14.5692)
Luminance0.4983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BA4F #4F6AD5
analogous
#D5774F #D5BA4F #ADD54F
triadic
#D5BA4F #4FD5BA #BA4FD5
tetradic
#D5BA4F #4FD577 #4F6AD5 #D54FAD
square
#D5BA4F #4FD577 #4F6AD5 #D54FAD
split-complementary
#D5BA4F #4FADD5 #774FD5
monochromatic
#897421 #BA9E2C #D5BA4F #E1CD80 #EDE1B2

Accessibility & contrast

On white

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

On black

10.97
#D5BA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BA4F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BA4F#FFFFFF#000000##000000
##D5BA4F1.001.9210.9710.97
#FFFFFF1.921.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB643
Deuteranopia (green-blind)
#D3BF54
Tritanopia (blue-blind)
#E5ADA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d5ba4f;
/* rgb */ color: rgb(213, 186, 79);
/* oklch */ color: oklch(79.2% 0.129 95.1);
Tailwind
colors: {
  custom: {
    50: '#e5ce85',
    500: '#d5ba4f',
    950: '#000000',
  },
}
SCSS
$custom: #d5ba4f;
$custom-light: #e5ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ba4f",
  "rgb": {
    "r": 213,
    "g": 186,
    "b": 79
  },
  "hsl": {
    "h": 47.91,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79195,
    "c": 0.12912,
    "h": 95.1
  },
  "luminance": 0.49828
}

Semantic roles & 50–950 ramp

primary
#D5BA4F
secondary
#A5B0DB
accent
#64E543
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5BA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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