#D1B341#D1B341

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

Color values

HEX#D1B341
RGBrgb(209, 179, 65)
HSLhsl(48, 61%, 54%)
HSVhsv(48, 69%, 82%)
CMYKcmyk(0%, 14.4%, 68.9%, 18%)
CIE-LABlab(73.66, -1.54, 59.70)
CIE-LCHlch(73.66, 59.72, 91.47°)
OKLaboklab(77.25% -0.0096 0.1338)
OKLCHoklch(77.25% 0.134 94.1)
XYZxyz(43.3709, 46.1795, 11.6291)
Luminance0.4618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B341 #415FD1
analogous
#D16B41 #D1B341 #A7D141
triadic
#D1B341 #41D1B3 #B341D1
tetradic
#D1B341 #41D16B #415FD1 #D141A7
square
#D1B341 #41D16B #415FD1 #D141A7
split-complementary
#D1B341 #41A7D1 #6B41D1
monochromatic
#7A671E #AB9029 #D1B341 #DDC772 #E9DAA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1B341#FFFFFF#000000##000000
##D1B3411.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)
#C5B032
Deuteranopia (green-blind)
#CDB947
Tritanopia (blue-blind)
#E1A59C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d1b341;
/* rgb */ color: rgb(209, 179, 65);
/* oklch */ color: oklch(77.2% 0.134 94.1);
Tailwind
colors: {
  custom: {
    50: '#e3c97c',
    500: '#d1b341',
    950: '#000000',
  },
}
SCSS
$custom: #d1b341;
$custom-light: #e3c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b341",
  "rgb": {
    "r": 209,
    "g": 179,
    "b": 65
  },
  "hsl": {
    "h": 47.5,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77249,
    "c": 0.13415,
    "h": 94.1
  },
  "luminance": 0.46177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1B341

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

Preview Lab → · Contrast checker → · Palette generator →

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