#D9BA54#D9BA54

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

Color values

HEX#D9BA54
RGBrgb(217, 186, 84)
HSLhsl(46, 64%, 59%)
HSVhsv(46, 61%, 85%)
CMYKcmyk(0%, 14.3%, 61.3%, 14.9%)
CIE-LABlab(76.38, -0.65, 54.58)
CIE-LCHlch(76.38, 54.59, 90.68°)
OKLaboklab(79.63% -0.0053 0.1256)
OKLCHoklch(79.63% 0.126 92.4)
XYZxyz(47.7766, 50.5121, 15.6191)
Luminance0.5051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BA54 #5473D9
analogous
#D97854 #D9BA54 #B6D954
triadic
#D9BA54 #54D9BA #BA54D9
tetradic
#D9BA54 #54D978 #5473D9 #D954B6
square
#D9BA54 #54D978 #5473D9 #D954B6
split-complementary
#D9BA54 #54B6D9 #7854D9
monochromatic
#927820 #C4A12C #D9BA54 #E4CE86 #EFE2B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9BA54#FFFFFF#000000##000000
##D9BA541.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)
#CCB749
Deuteranopia (green-blind)
#D4C059
Tritanopia (blue-blind)
#E9ADA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d9ba54;
/* rgb */ color: rgb(217, 186, 84);
/* oklch */ color: oklch(79.6% 0.126 92.4);
Tailwind
colors: {
  custom: {
    50: '#e8ce88',
    500: '#d9ba54',
    950: '#000000',
  },
}
SCSS
$custom: #d9ba54;
$custom-light: #e8ce88;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ba54",
  "rgb": {
    "r": 217,
    "g": 186,
    "b": 84
  },
  "hsl": {
    "h": 46.015,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.79626,
    "c": 0.12572,
    "h": 92.4
  },
  "luminance": 0.5051
}

Semantic roles & 50–950 ramp

primary
#D9BA54
secondary
#3A5097
accent
#68E741
background
#FFFEFC
surface
#FEFAF3
border
#D6D3CD
text
#16130C
muted
#85837F

Preview Lab

Preview with #D9BA54

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

Preview Lab → · Contrast checker → · Palette generator →

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