#D1B536#D1B536

#D1B536 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.6% C 0.143 H 96.2°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#D1B536
RGBrgb(209, 181, 54)
HSLhsl(49, 63%, 52%)
HSVhsv(49, 74%, 82%)
CMYKcmyk(0%, 13.4%, 74.2%, 18%)
CIE-LABlab(74.11, -3.12, 64.39)
CIE-LCHlch(74.11, 64.46, 92.77°)
OKLaboklab(77.58% -0.0153 0.1417)
OKLCHoklch(77.58% 0.143 96.2)
XYZxyz(43.4865, 46.8717, 10.2459)
Luminance0.4687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B536 #3652D1
analogous
#D16836 #D1B536 #A0D136
triadic
#D1B536 #36D1B5 #B536D1
tetradic
#D1B536 #36D168 #3652D1 #D136A0
square
#D1B536 #36D168 #3652D1 #D136A0
split-complementary
#D1B536 #36A0D1 #6836D1
monochromatic
#72621A #A48D26 #D1B536 #DCC768 #E8DA9A

Accessibility & contrast

On white

2.02
#D1B536 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#D1B536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B536
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B536#FFFFFF#000000##000000
##D1B5361.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B120
Deuteranopia (green-blind)
#CFBA3E
Tritanopia (blue-blind)
#E2A79C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d1b536;
/* rgb */ color: rgb(209, 181, 54);
/* oklch */ color: oklch(77.6% 0.143 96.2);
Tailwind
colors: {
  custom: {
    50: '#e3ca76',
    500: '#d1b536',
    950: '#000000',
  },
}
SCSS
$custom: #d1b536;
$custom-light: #e3ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b536",
  "rgb": {
    "r": 209,
    "g": 181,
    "b": 54
  },
  "hsl": {
    "h": 49.161,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77578,
    "c": 0.14255,
    "h": 96.2
  },
  "luminance": 0.46869
}

Semantic roles & 50–950 ramp

primary
#D1B536
secondary
#8F9CD3
accent
#60E642
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D1B536

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

Preview Lab → · Contrast checker → · Palette generator →

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