#D1B241#D1B241

#D1B241 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 77.0% C 0.133 H 93.5°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#D1B241
RGBrgb(209, 178, 65)
HSLhsl(47, 61%, 54%)
HSVhsv(47, 69%, 82%)
CMYKcmyk(0%, 14.8%, 68.9%, 18%)
CIE-LABlab(73.40, -1.01, 59.43)
CIE-LCHlch(73.40, 59.44, 90.97°)
OKLaboklab(77.04% -0.0081 0.1332)
OKLCHoklch(77.04% 0.133 93.5)
XYZxyz(43.1712, 45.7801, 11.5625)
Luminance0.4578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B241 #4160D1
analogous
#D16A41 #D1B241 #A8D141
triadic
#D1B241 #41D1B2 #B241D1
tetradic
#D1B241 #41D16A #4160D1 #D141A8
square
#D1B241 #41D16A #4160D1 #D141A8
split-complementary
#D1B241 #41A8D1 #6A41D1
monochromatic
#7A661E #AB8F29 #D1B241 #DDC672 #E9DAA4

Accessibility & contrast

On white

2.07
#D1B241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#D1B241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B241
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B241#FFFFFF#000000##000000
##D1B2411.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF32
Deuteranopia (green-blind)
#CCB847
Tritanopia (blue-blind)
#E2A49B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d1b241;
/* rgb */ color: rgb(209, 178, 65);
/* oklch */ color: oklch(77.0% 0.133 93.5);
Tailwind
colors: {
  custom: {
    50: '#e3c87c',
    500: '#d1b241',
    950: '#000000',
  },
}
SCSS
$custom: #d1b241;
$custom-light: #e3c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b241",
  "rgb": {
    "r": 209,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 47.083,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77044,
    "c": 0.13349,
    "h": 93.5
  },
  "luminance": 0.45778
}

Semantic roles & 50–950 ramp

primary
#D1B241
secondary
#98A5D6
accent
#66E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B241

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

Preview Lab → · Contrast checker → · Palette generator →

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