#D9BA46#D9BA46

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

Color values

HEX#D9BA46
RGBrgb(217, 186, 70)
HSLhsl(47, 66%, 56%)
HSVhsv(47, 68%, 85%)
CMYKcmyk(0%, 14.3%, 67.7%, 14.9%)
CIE-LABlab(76.26, -1.50, 60.55)
CIE-LCHlch(76.26, 60.57, 91.42°)
OKLaboklab(79.49% -0.0094 0.1362)
OKLCHoklch(79.49% 0.137 94)
XYZxyz(47.2820, 50.3143, 13.0143)
Luminance0.5031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BA46 #4665D9
analogous
#D97146 #D9BA46 #AFD946
triadic
#D9BA46 #46D9BA #BA46D9
tetradic
#D9BA46 #46D971 #4665D9 #D946AF
square
#D9BA46 #46D971 #4665D9 #D946AF
split-complementary
#D9BA46 #46AFD9 #7146D9
monochromatic
#89721C #BB9C26 #D9BA46 #E3CD79 #EEE0AC

Accessibility & contrast

On white

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

On black

11.06
#D9BA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BA46
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BA46#FFFFFF#000000##000000
##D9BA461.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB737
Deuteranopia (green-blind)
#D5C04C
Tritanopia (blue-blind)
#EAACA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d9ba46;
/* rgb */ color: rgb(217, 186, 70);
/* oklch */ color: oklch(79.5% 0.137 94.0);
Tailwind
colors: {
  custom: {
    50: '#e8ce7f',
    500: '#d9ba46',
    950: '#000000',
  },
}
SCSS
$custom: #d9ba46;
$custom-light: #e8ce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ba46",
  "rgb": {
    "r": 217,
    "g": 186,
    "b": 70
  },
  "hsl": {
    "h": 47.347,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79492,
    "c": 0.13652,
    "h": 94
  },
  "luminance": 0.50312
}

Semantic roles & 50–950 ramp

primary
#D9BA46
secondary
#35488F
accent
#63E93F
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #D9BA46

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

Preview Lab → · Contrast checker → · Palette generator →

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