#D9B738#D9B738

#D9B738 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.8% C 0.144 H 93.4°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#D9B738
RGBrgb(217, 183, 56)
HSLhsl(47, 68%, 54%)
HSVhsv(47, 74%, 85%)
CMYKcmyk(0%, 15.7%, 74.2%, 14.9%)
CIE-LABlab(75.39, -0.62, 65.16)
CIE-LCHlch(75.39, 65.16, 90.55°)
OKLaboklab(78.77% -0.0084 0.1434)
OKLCHoklch(78.77% 0.144 93.4)
XYZxyz(46.2651, 48.9069, 10.7437)
Luminance0.4890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B738 #385AD9
analogous
#D96638 #D9B738 #AAD938
triadic
#D9B738 #38D9B7 #B738D9
tetradic
#D9B738 #38D966 #385AD9 #D938AA
square
#D9B738 #38D966 #385AD9 #D938AA
split-complementary
#D9B738 #38AAD9 #6638D9
monochromatic
#7E6918 #B29322 #D9B738 #E3CA6B #EDDC9F

Accessibility & contrast

On white

1.95
#D9B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#D9B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B738
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B738#FFFFFF#000000##000000
##D9B7381.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB422
Deuteranopia (green-blind)
#D3BE3F
Tritanopia (blue-blind)
#EBA89E
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d9b738;
/* rgb */ color: rgb(217, 183, 56);
/* oklch */ color: oklch(78.8% 0.144 93.4);
Tailwind
colors: {
  custom: {
    50: '#e9cc77',
    500: '#d9b738',
    950: '#000000',
  },
}
SCSS
$custom: #d9b738;
$custom-light: #e9cc77;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b738",
  "rgb": {
    "r": 217,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 47.329,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78775,
    "c": 0.14365,
    "h": 93.4
  },
  "luminance": 0.48904
}

Semantic roles & 50–950 ramp

primary
#D9B738
secondary
#94A2D9
accent
#62EB3D
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D9B738

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

Preview Lab → · Contrast checker → · Palette generator →

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