#D1B339#D1B339

#D1B339 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.2% C 0.139 H 94.8°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#D1B339
RGBrgb(209, 179, 57)
HSLhsl(48, 62%, 52%)
HSVhsv(48, 73%, 82%)
CMYKcmyk(0%, 14.4%, 72.7%, 18%)
CIE-LABlab(73.61, -1.93, 62.80)
CIE-LCHlch(73.61, 62.83, 91.76°)
OKLaboklab(77.19% -0.0116 0.1389)
OKLCHoklch(77.19% 0.139 94.8)
XYZxyz(43.1554, 46.0933, 10.4939)
Luminance0.4609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B339 #3957D1
analogous
#D16739 #D1B339 #A3D139
triadic
#D1B339 #39D1B3 #B339D1
tetradic
#D1B339 #39D167 #3957D1 #D139A3
square
#D1B339 #39D167 #3957D1 #D139A3
split-complementary
#D1B339 #39A3D1 #6739D1
monochromatic
#75631B #A68D27 #D1B339 #DDC66B #E8D99C

Accessibility & contrast

On white

2.06
#D1B339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#D1B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B339
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B339#FFFFFF#000000##000000
##D1B3391.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B025
Deuteranopia (green-blind)
#CDB940
Tritanopia (blue-blind)
#E2A59B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d1b339;
/* rgb */ color: rgb(209, 179, 57);
/* oklch */ color: oklch(77.2% 0.139 94.8);
Tailwind
colors: {
  custom: {
    50: '#e3c977',
    500: '#d1b339',
    950: '#000000',
  },
}
SCSS
$custom: #d1b339;
$custom-light: #e3c977;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b339",
  "rgb": {
    "r": 209,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 48.158,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77187,
    "c": 0.1394,
    "h": 94.8
  },
  "luminance": 0.46091
}

Semantic roles & 50–950 ramp

primary
#D1B339
secondary
#929FD4
accent
#63E542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D1B339

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

Preview Lab → · Contrast checker → · Palette generator →

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