#D9B440#D9B440

#D9B440 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.2% C 0.137 H 90.8°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#D9B440
RGBrgb(217, 180, 64)
HSLhsl(45, 67%, 55%)
HSVhsv(45, 71%, 85%)
CMYKcmyk(0%, 17.1%, 70.5%, 14.9%)
CIE-LABlab(74.68, 1.32, 61.38)
CIE-LCHlch(74.68, 61.40, 88.76°)
OKLaboklab(78.23% -0.002 0.1369)
OKLCHoklch(78.23% 0.137 90.8)
XYZxyz(45.8644, 47.7671, 11.6537)
Luminance0.4776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B440 #4065D9
analogous
#D96740 #D9B440 #B2D940
triadic
#D9B440 #40D9B4 #B440D9
tetradic
#D9B440 #40D967 #4065D9 #D940B2
square
#D9B440 #40D967 #4065D9 #D940B2
split-complementary
#D9B440 #40B2D9 #6740D9
monochromatic
#846B1A #B79424 #D9B440 #E3C873 #EDDCA6

Accessibility & contrast

On white

1.99
#D9B440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#D9B440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B440
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B440#FFFFFF#000000##000000
##D9B4401.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B230
Deuteranopia (green-blind)
#D1BC46
Tritanopia (blue-blind)
#EBA59C
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d9b440;
/* rgb */ color: rgb(217, 180, 64);
/* oklch */ color: oklch(78.2% 0.137 90.8);
Tailwind
colors: {
  custom: {
    50: '#e9ca7b',
    500: '#d9b440',
    950: '#000000',
  },
}
SCSS
$custom: #d9b440;
$custom-light: #e9ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b440",
  "rgb": {
    "r": 217,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 45.49,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78227,
    "c": 0.13691,
    "h": 90.8
  },
  "luminance": 0.47764
}

Semantic roles & 50–950 ramp

primary
#D9B440
secondary
#9AAADA
accent
#68EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B440

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

Preview Lab → · Contrast checker → · Palette generator →

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