#D9BA41#D9BA41

#D9BA41 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.5% C 0.140 H 94.4°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#D9BA41
RGBrgb(217, 186, 65)
HSLhsl(48, 67%, 55%)
HSVhsv(48, 70%, 85%)
CMYKcmyk(0%, 14.3%, 70%, 14.9%)
CIE-LABlab(76.22, -1.77, 62.54)
CIE-LCHlch(76.22, 62.57, 91.62°)
OKLaboklab(79.45% -0.0107 0.1395)
OKLCHoklch(79.45% 0.14 94.4)
XYZxyz(47.1307, 50.2538, 12.2175)
Luminance0.5025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BA41 #4160D9
analogous
#D96E41 #D9BA41 #ACD941
triadic
#D9BA41 #41D9BA #BA41D9
tetradic
#D9BA41 #41D96E #4160D9 #D941AC
square
#D9BA41 #41D96E #4160D9 #D941AC
split-complementary
#D9BA41 #41ACD9 #6E41D9
monochromatic
#856F1B #B89A25 #D9BA41 #E3CD74 #EDDFA7

Accessibility & contrast

On white

1.90
#D9BA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#D9BA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BA41
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BA41#FFFFFF#000000##000000
##D9BA411.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB730
Deuteranopia (green-blind)
#D5C048
Tritanopia (blue-blind)
#EAACA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d9ba41;
/* rgb */ color: rgb(217, 186, 65);
/* oklch */ color: oklch(79.5% 0.140 94.4);
Tailwind
colors: {
  custom: {
    50: '#e9ce7c',
    500: '#d9ba41',
    950: '#000000',
  },
}
SCSS
$custom: #d9ba41;
$custom-light: #e9ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ba41",
  "rgb": {
    "r": 217,
    "g": 186,
    "b": 65
  },
  "hsl": {
    "h": 47.763,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79451,
    "c": 0.13995,
    "h": 94.4
  },
  "luminance": 0.50251
}

Semantic roles & 50–950 ramp

primary
#D9BA41
secondary
#33458B
accent
#61EA3E
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #D9BA41

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

Preview Lab → · Contrast checker → · Palette generator →

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