#D1B041#D1B041

#D1B041 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.6% C 0.132 H 92.2°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#D1B041
RGBrgb(209, 176, 65)
HSLhsl(46, 61%, 54%)
HSVhsv(46, 69%, 82%)
CMYKcmyk(0%, 15.8%, 68.9%, 18%)
CIE-LABlab(72.89, 0.04, 58.90)
CIE-LCHlch(72.89, 58.90, 89.96°)
OKLaboklab(76.64% -0.0051 0.1321)
OKLCHoklch(76.64% 0.132 92.2)
XYZxyz(42.7762, 44.9901, 11.4309)
Luminance0.4499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B041 #4162D1
analogous
#D16841 #D1B041 #AAD141
triadic
#D1B041 #41D1B0 #B041D1
tetradic
#D1B041 #41D168 #4162D1 #D141AA
square
#D1B041 #41D168 #4162D1 #D141AA
split-complementary
#D1B041 #41AAD1 #6841D1
monochromatic
#7A651E #AB8E29 #D1B041 #DDC472 #E9D9A4

Accessibility & contrast

On white

2.10
#D1B041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#D1B041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B041
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B041#FFFFFF#000000##000000
##D1B0411.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD32
Deuteranopia (green-blind)
#CBB747
Tritanopia (blue-blind)
#E2A299
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d1b041;
/* rgb */ color: rgb(209, 176, 65);
/* oklch */ color: oklch(76.6% 0.132 92.2);
Tailwind
colors: {
  custom: {
    50: '#e3c77b',
    500: '#d1b041',
    950: '#000000',
  },
}
SCSS
$custom: #d1b041;
$custom-light: #e3c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b041",
  "rgb": {
    "r": 209,
    "g": 176,
    "b": 65
  },
  "hsl": {
    "h": 46.25,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76636,
    "c": 0.13222,
    "h": 92.2
  },
  "luminance": 0.44988
}

Semantic roles & 50–950 ramp

primary
#D1B041
secondary
#98A6D6
accent
#68E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B041

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

Preview Lab → · Contrast checker → · Palette generator →

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