#D9BA3E#D9BA3E

#D9BA3E is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.4% C 0.142 H 94.6°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#D9BA3E
RGBrgb(217, 186, 62)
HSLhsl(48, 67%, 55%)
HSVhsv(48, 71%, 85%)
CMYKcmyk(0%, 14.3%, 71.4%, 14.9%)
CIE-LABlab(76.20, -1.91, 63.69)
CIE-LCHlch(76.20, 63.72, 91.72°)
OKLaboklab(79.43% -0.0115 0.1414)
OKLCHoklch(79.43% 0.142 94.6)
XYZxyz(47.0461, 50.2199, 11.7719)
Luminance0.5022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BA3E #3E5DD9
analogous
#D96D3E #D9BA3E #ABD93E
triadic
#D9BA3E #3ED9BA #BA3ED9
tetradic
#D9BA3E #3ED96D #3E5DD9 #D93EAB
square
#D9BA3E #3ED96D #3E5DD9 #D93EAB
split-complementary
#D9BA3E #3EABD9 #6D3ED9
monochromatic
#836E1A #B69924 #D9BA3E #E3CC71 #EDDFA4

Accessibility & contrast

On white

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

On black

11.04
#D9BA3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BA3E
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BA3E#FFFFFF#000000##000000
##D9BA3E1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62B
Deuteranopia (green-blind)
#D5C045
Tritanopia (blue-blind)
#EAABA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d9ba3e;
/* rgb */ color: rgb(217, 186, 62);
/* oklch */ color: oklch(79.4% 0.142 94.6);
Tailwind
colors: {
  custom: {
    50: '#e9ce7b',
    500: '#d9ba3e',
    950: '#000000',
  },
}
SCSS
$custom: #d9ba3e;
$custom-light: #e9ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ba3e",
  "rgb": {
    "r": 217,
    "g": 186,
    "b": 62
  },
  "hsl": {
    "h": 48,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79428,
    "c": 0.14191,
    "h": 94.6
  },
  "luminance": 0.50217
}

Semantic roles & 50–950 ramp

primary
#D9BA3E
secondary
#32438A
accent
#60EA3E
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #D9BA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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