#D1B541#D1B541

#D1B541 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.7% C 0.136 H 95.3°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#D1B541
RGBrgb(209, 181, 65)
HSLhsl(48, 61%, 54%)
HSVhsv(48, 69%, 82%)
CMYKcmyk(0%, 13.4%, 68.9%, 18%)
CIE-LABlab(74.18, -2.58, 60.23)
CIE-LCHlch(74.18, 60.28, 92.46°)
OKLaboklab(77.66% -0.0126 0.1349)
OKLCHoklch(77.66% 0.136 95.3)
XYZxyz(43.7747, 46.9870, 11.7637)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B541 #415DD1
analogous
#D16D41 #D1B541 #A5D141
triadic
#D1B541 #41D1B5 #B541D1
tetradic
#D1B541 #41D16D #415DD1 #D141A5
square
#D1B541 #41D16D #415DD1 #D141A5
split-complementary
#D1B541 #41A5D1 #6D41D1
monochromatic
#7A681E #AB9229 #D1B541 #DDC872 #E9DBA4

Accessibility & contrast

On white

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

On black

10.40
#D1B541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B541
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B541#FFFFFF#000000##000000
##D1B5411.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B131
Deuteranopia (green-blind)
#CEBA47
Tritanopia (blue-blind)
#E1A79D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d1b541;
/* rgb */ color: rgb(209, 181, 65);
/* oklch */ color: oklch(77.7% 0.136 95.3);
Tailwind
colors: {
  custom: {
    50: '#e3ca7c',
    500: '#d1b541',
    950: '#000000',
  },
}
SCSS
$custom: #d1b541;
$custom-light: #e3ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b541",
  "rgb": {
    "r": 209,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 48.333,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7766,
    "c": 0.13551,
    "h": 95.3
  },
  "luminance": 0.46985
}

Semantic roles & 50–950 ramp

primary
#D1B541
secondary
#98A4D6
accent
#63E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B541

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

Preview Lab → · Contrast checker → · Palette generator →

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