#D1B336#D1B336

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

Color values

HEX#D1B336
RGBrgb(209, 179, 54)
HSLhsl(48, 63%, 52%)
HSVhsv(48, 74%, 82%)
CMYKcmyk(0%, 14.4%, 74.2%, 18%)
CIE-LABlab(73.59, -2.07, 63.89)
CIE-LCHlch(73.59, 63.93, 91.85°)
OKLaboklab(77.17% -0.0123 0.1407)
OKLCHoklch(77.17% 0.141 95)
XYZxyz(43.0827, 46.0643, 10.1113)
Luminance0.4606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B336 #3654D1
analogous
#D16636 #D1B336 #A2D136
triadic
#D1B336 #36D1B3 #B336D1
tetradic
#D1B336 #36D166 #3654D1 #D136A2
square
#D1B336 #36D166 #3654D1 #D136A2
split-complementary
#D1B336 #36A2D1 #6636D1
monochromatic
#72611A #A48C26 #D1B336 #DCC668 #E8D99A

Accessibility & contrast

On white

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

On black

10.21
#D1B336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B336
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B336#FFFFFF#000000##000000
##D1B3361.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1b336;
/* rgb */ color: rgb(209, 179, 54);
/* oklch */ color: oklch(77.2% 0.141 95.0);
Tailwind
colors: {
  custom: {
    50: '#e3c976',
    500: '#d1b336',
    950: '#000000',
  },
}
SCSS
$custom: #d1b336;
$custom-light: #e3c976;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b336",
  "rgb": {
    "r": 209,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 48.387,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77166,
    "c": 0.1412,
    "h": 95
  },
  "luminance": 0.46062
}

Semantic roles & 50–950 ramp

primary
#D1B336
secondary
#8F9DD3
accent
#62E642
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D1B336

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

Preview Lab → · Contrast checker → · Palette generator →

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