#D9B341#D9B341

#D9B341 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 78.0% C 0.136 H 90.1°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#D9B341
RGBrgb(217, 179, 65)
HSLhsl(45, 67%, 55%)
HSVhsv(45, 70%, 85%)
CMYKcmyk(0%, 17.5%, 70%, 14.9%)
CIE-LABlab(74.43, 1.90, 60.73)
CIE-LCHlch(74.43, 60.76, 88.21°)
OKLaboklab(78.03% -0.0002 0.1357)
OKLCHoklch(78.03% 0.136 90.1)
XYZxyz(45.6920, 47.3763, 11.7379)
Luminance0.4737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B341 #4167D9
analogous
#D96741 #D9B341 #B3D941
triadic
#D9B341 #41D9B3 #B341D9
tetradic
#D9B341 #41D967 #4167D9 #D941B3
square
#D9B341 #41D967 #4167D9 #D941B3
split-complementary
#D9B341 #41B3D9 #6741D9
monochromatic
#856A1B #B89325 #D9B341 #E3C774 #EDDCA7

Accessibility & contrast

On white

2.00
#D9B341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#D9B341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B341
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B341#FFFFFF#000000##000000
##D9B3411.002.0010.4710.47
#FFFFFF2.001.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B131
Deuteranopia (green-blind)
#D0BC47
Tritanopia (blue-blind)
#EBA49C
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d9b341;
/* rgb */ color: rgb(217, 179, 65);
/* oklch */ color: oklch(78.0% 0.136 90.1);
Tailwind
colors: {
  custom: {
    50: '#e9c97c',
    500: '#d9b341',
    950: '#000000',
  },
}
SCSS
$custom: #d9b341;
$custom-light: #e9c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b341",
  "rgb": {
    "r": 217,
    "g": 179,
    "b": 65
  },
  "hsl": {
    "h": 45,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78034,
    "c": 0.1357,
    "h": 90.1
  },
  "luminance": 0.47374
}

Semantic roles & 50–950 ramp

primary
#D9B341
secondary
#9BABDB
accent
#69EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B341

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

Preview Lab → · Contrast checker → · Palette generator →

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