#D9BA45#D9BA45

#D9BA45 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#D9BA45
RGBrgb(217, 186, 69)
HSLhsl(47, 66%, 56%)
HSVhsv(47, 68%, 85%)
CMYKcmyk(0%, 14.3%, 68.2%, 14.9%)
CIE-LABlab(76.25, -1.56, 60.96)
CIE-LCHlch(76.25, 60.98, 91.46°)
OKLaboklab(79.48% -0.0097 0.1369)
OKLCHoklch(79.48% 0.137 94)
XYZxyz(47.2507, 50.3018, 12.8495)
Luminance0.5030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BA45 #4564D9
analogous
#D97045 #D9BA45 #AED945
triadic
#D9BA45 #45D9BA #BA45D9
tetradic
#D9BA45 #45D970 #4564D9 #D945AE
square
#D9BA45 #45D970 #4564D9 #D945AE
split-complementary
#D9BA45 #45AED9 #7045D9
monochromatic
#88711C #BB9C26 #D9BA45 #E3CD78 #EEE0AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9BA45#FFFFFF#000000##000000
##D9BA451.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)
#CDB736
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#EAACA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d9ba45;
/* rgb */ color: rgb(217, 186, 69);
/* oklch */ color: oklch(79.5% 0.137 94.0);
Tailwind
colors: {
  custom: {
    50: '#e8ce7f',
    500: '#d9ba45',
    950: '#000000',
  },
}
SCSS
$custom: #d9ba45;
$custom-light: #e8ce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ba45",
  "rgb": {
    "r": 217,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 47.432,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79483,
    "c": 0.13722,
    "h": 94
  },
  "luminance": 0.50299
}

Semantic roles & 50–950 ramp

primary
#D9BA45
secondary
#34478E
accent
#62E93F
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #D9BA45

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

Preview Lab → · Contrast checker → · Palette generator →

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