#D1B839#D1B839

#D1B839 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.2% C 0.143 H 97.7°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#D1B839
RGBrgb(209, 184, 57)
HSLhsl(50, 62%, 52%)
HSVhsv(50, 73%, 82%)
CMYKcmyk(0%, 12%, 72.7%, 18%)
CIE-LABlab(74.91, -4.55, 64.06)
CIE-LCHlch(74.91, 64.22, 94.06°)
OKLaboklab(78.22% -0.0191 0.1416)
OKLCHoklch(78.22% 0.143 97.7)
XYZxyz(44.1757, 48.1340, 10.8340)
Luminance0.4813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B839 #3952D1
analogous
#D16C39 #D1B839 #9ED139
triadic
#D1B839 #39D1B8 #B839D1
tetradic
#D1B839 #39D16C #3952D1 #D1399E
square
#D1B839 #39D16C #3952D1 #D1399E
split-complementary
#D1B839 #399ED1 #6C39D1
monochromatic
#75661B #A69127 #D1B839 #DDCA6B #E8DC9C

Accessibility & contrast

On white

1.98
#D1B839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#D1B839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B839
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B839#FFFFFF#000000##000000
##D1B8391.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB424
Deuteranopia (green-blind)
#D1BC41
Tritanopia (blue-blind)
#E1AA9F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d1b839;
/* rgb */ color: rgb(209, 184, 57);
/* oklch */ color: oklch(78.2% 0.143 97.7);
Tailwind
colors: {
  custom: {
    50: '#e3cc78',
    500: '#d1b839',
    950: '#000000',
  },
}
SCSS
$custom: #d1b839;
$custom-light: #e3cc78;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b839",
  "rgb": {
    "r": 209,
    "g": 184,
    "b": 57
  },
  "hsl": {
    "h": 50.132,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78219,
    "c": 0.14288,
    "h": 97.7
  },
  "luminance": 0.48132
}

Semantic roles & 50–950 ramp

primary
#D1B839
secondary
#929DD4
accent
#5DE542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D1B839

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

Preview Lab → · Contrast checker → · Palette generator →

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