#D9B648#D9B648

#D9B648 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.7% C 0.133 H 91.2°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#D9B648
RGBrgb(217, 182, 72)
HSLhsl(46, 66%, 57%)
HSVhsv(46, 67%, 85%)
CMYKcmyk(0%, 16.1%, 66.8%, 14.9%)
CIE-LABlab(75.25, 0.70, 58.66)
CIE-LCHlch(75.25, 58.66, 89.31°)
OKLaboklab(78.7% -0.0028 0.1325)
OKLCHoklch(78.7% 0.133 91.2)
XYZxyz(46.5153, 48.6782, 13.0754)
Luminance0.4868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B648 #486BD9
analogous
#D96E48 #D9B648 #B4D948
triadic
#D9B648 #48D9B6 #B648D9
tetradic
#D9B648 #48D96E #486BD9 #D948B4
square
#D9B648 #48D96E #486BD9 #D948B4
split-complementary
#D9B648 #48B4D9 #6E48D9
monochromatic
#8A701D #BD9927 #D9B648 #E4CA7B #EEDEAD

Accessibility & contrast

On white

1.96
#D9B648 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#D9B648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B648
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B648#FFFFFF#000000##000000
##D9B6481.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B43A
Deuteranopia (green-blind)
#D2BE4D
Tritanopia (blue-blind)
#EAA89F
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d9b648;
/* rgb */ color: rgb(217, 182, 72);
/* oklch */ color: oklch(78.7% 0.133 91.2);
Tailwind
colors: {
  custom: {
    50: '#e8cb80',
    500: '#d9b648',
    950: '#000000',
  },
}
SCSS
$custom: #d9b648;
$custom-light: #e8cb80;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b648",
  "rgb": {
    "r": 217,
    "g": 182,
    "b": 72
  },
  "hsl": {
    "h": 45.517,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78699,
    "c": 0.13253,
    "h": 91.2
  },
  "luminance": 0.48675
}

Semantic roles & 50–950 ramp

primary
#D9B648
secondary
#A1AFDC
accent
#68E93F
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #D9B648

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

Preview Lab → · Contrast checker → · Palette generator →

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