#D1B342#D1B342

#D1B342 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.3% C 0.133 H 94.0°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#D1B342
RGBrgb(209, 179, 66)
HSLhsl(47, 61%, 54%)
HSVhsv(47, 68%, 82%)
CMYKcmyk(0%, 14.4%, 68.4%, 18%)
CIE-LABlab(73.67, -1.48, 59.29)
CIE-LCHlch(73.67, 59.31, 91.43°)
OKLaboklab(77.26% -0.0093 0.1331)
OKLCHoklch(77.26% 0.133 94)
XYZxyz(43.4001, 46.1912, 11.7830)
Luminance0.4619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B342 #4260D1
analogous
#D16C42 #D1B342 #A7D142
triadic
#D1B342 #42D1B3 #B342D1
tetradic
#D1B342 #42D16C #4260D1 #D142A7
square
#D1B342 #42D16C #4260D1 #D142A7
split-complementary
#D1B342 #42A7D1 #6C42D1
monochromatic
#7B671E #AC912A #D1B342 #DDC773 #E9DBA4

Accessibility & contrast

On white

2.05
#D1B342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#D1B342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B342
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B342#FFFFFF#000000##000000
##D1B3421.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B033
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#E1A59C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d1b342;
/* rgb */ color: rgb(209, 179, 66);
/* oklch */ color: oklch(77.3% 0.133 94.0);
Tailwind
colors: {
  custom: {
    50: '#e3c97c',
    500: '#d1b342',
    950: '#000000',
  },
}
SCSS
$custom: #d1b342;
$custom-light: #e3c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b342",
  "rgb": {
    "r": 209,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 47.413,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77258,
    "c": 0.13345,
    "h": 94
  },
  "luminance": 0.46189
}

Semantic roles & 50–950 ramp

primary
#D1B342
secondary
#99A6D6
accent
#65E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B342

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

Preview Lab → · Contrast checker → · Palette generator →

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