#D1B042#D1B042

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

Color values

HEX#D1B042
RGBrgb(209, 176, 66)
HSLhsl(46, 61%, 54%)
HSVhsv(46, 68%, 82%)
CMYKcmyk(0%, 15.8%, 68.4%, 18%)
CIE-LABlab(72.89, 0.10, 58.49)
CIE-LCHlch(72.89, 58.49, 89.90°)
OKLaboklab(76.65% -0.0048 0.1314)
OKLCHoklch(76.65% 0.132 92.1)
XYZxyz(42.8054, 45.0018, 11.5848)
Luminance0.4500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B042 #4263D1
analogous
#D16942 #D1B042 #ABD142
triadic
#D1B042 #42D1B0 #B042D1
tetradic
#D1B042 #42D169 #4263D1 #D142AB
square
#D1B042 #42D169 #4263D1 #D142AB
split-complementary
#D1B042 #42ABD1 #6942D1
monochromatic
#7B651E #AC8E2A #D1B042 #DDC573 #E9D9A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1B042#FFFFFF#000000##000000
##D1B0421.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)
#C3AD34
Deuteranopia (green-blind)
#CBB747
Tritanopia (blue-blind)
#E2A299
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d1b042;
/* rgb */ color: rgb(209, 176, 66);
/* oklch */ color: oklch(76.6% 0.132 92.1);
Tailwind
colors: {
  custom: {
    50: '#e3c77c',
    500: '#d1b042',
    950: '#000000',
  },
}
SCSS
$custom: #d1b042;
$custom-light: #e3c77c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b042",
  "rgb": {
    "r": 209,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 46.154,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76645,
    "c": 0.13151,
    "h": 92.1
  },
  "luminance": 0.44999
}

Semantic roles & 50–950 ramp

primary
#D1B042
secondary
#99A7D6
accent
#69E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B042

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

Preview Lab → · Contrast checker → · Palette generator →

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