#D9BA53#D9BA53

#D9BA53 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.6% C 0.127 H 92.5°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#D9BA53
RGBrgb(217, 186, 83)
HSLhsl(46, 64%, 59%)
HSVhsv(46, 62%, 85%)
CMYKcmyk(0%, 14.3%, 61.8%, 14.9%)
CIE-LABlab(76.37, -0.71, 55.03)
CIE-LCHlch(76.37, 55.03, 90.74°)
OKLaboklab(79.62% -0.0056 0.1264)
OKLCHoklch(79.62% 0.127 92.5)
XYZxyz(47.7377, 50.4966, 15.4143)
Luminance0.5049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BA53 #5372D9
analogous
#D97753 #D9BA53 #B5D953
triadic
#D9BA53 #53D9BA #BA53D9
tetradic
#D9BA53 #53D977 #5372D9 #D953B5
square
#D9BA53 #53D977 #5372D9 #D953B5
split-complementary
#D9BA53 #53B5D9 #7753D9
monochromatic
#917720 #C4A02B #D9BA53 #E4CE85 #EFE2B7

Accessibility & contrast

On white

1.89
#D9BA53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#D9BA53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BA53
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BA53#FFFFFF#000000##000000
##D9BA531.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB748
Deuteranopia (green-blind)
#D4C058
Tritanopia (blue-blind)
#E9ADA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d9ba53;
/* rgb */ color: rgb(217, 186, 83);
/* oklch */ color: oklch(79.6% 0.127 92.5);
Tailwind
colors: {
  custom: {
    50: '#e8ce87',
    500: '#d9ba53',
    950: '#000000',
  },
}
SCSS
$custom: #d9ba53;
$custom-light: #e8ce87;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ba53",
  "rgb": {
    "r": 217,
    "g": 186,
    "b": 83
  },
  "hsl": {
    "h": 46.119,
    "s": 63.81,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79616,
    "c": 0.12655,
    "h": 92.5
  },
  "luminance": 0.50494
}

Semantic roles & 50–950 ramp

primary
#D9BA53
secondary
#3A4F97
accent
#67E741
background
#FFFEFC
surface
#FEFAF3
border
#D6D3CD
text
#16130B
muted
#85837E

Preview Lab

Preview with #D9BA53

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

Preview Lab → · Contrast checker → · Palette generator →

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