#D9BA3D#D9BA3D

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

Color values

HEX#D9BA3D
RGBrgb(217, 186, 61)
HSLhsl(48, 67%, 55%)
HSVhsv(48, 72%, 85%)
CMYKcmyk(0%, 14.3%, 71.9%, 14.9%)
CIE-LABlab(76.20, -1.96, 64.07)
CIE-LCHlch(76.20, 64.10, 91.75°)
OKLaboklab(79.42% -0.0117 0.1421)
OKLCHoklch(79.42% 0.143 94.7)
XYZxyz(47.0189, 50.2090, 11.6287)
Luminance0.5021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BA3D #3D5CD9
analogous
#D96C3D #D9BA3D #AAD93D
triadic
#D9BA3D #3DD9BA #BA3DD9
tetradic
#D9BA3D #3DD96C #3D5CD9 #D93DAA
square
#D9BA3D #3DD96C #3D5CD9 #D93DAA
split-complementary
#D9BA3D #3DAAD9 #6C3DD9
monochromatic
#826D19 #B59824 #D9BA3D #E3CC70 #EDDEA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9BA3D#FFFFFF#000000##000000
##D9BA3D1.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)
#CDB62A
Deuteranopia (green-blind)
#D5C044
Tritanopia (blue-blind)
#EAABA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d9ba3d;
/* rgb */ color: rgb(217, 186, 61);
/* oklch */ color: oklch(79.4% 0.143 94.7);
Tailwind
colors: {
  custom: {
    50: '#e9ce7a',
    500: '#d9ba3d',
    950: '#000000',
  },
}
SCSS
$custom: #d9ba3d;
$custom-light: #e9ce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ba3d",
  "rgb": {
    "r": 217,
    "g": 186,
    "b": 61
  },
  "hsl": {
    "h": 48.077,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79421,
    "c": 0.14254,
    "h": 94.7
  },
  "luminance": 0.50206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9BA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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