#D1B141#D1B141

#D1B141 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.133 H 92.8°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#D1B141
RGBrgb(209, 177, 65)
HSLhsl(47, 61%, 54%)
HSVhsv(47, 69%, 82%)
CMYKcmyk(0%, 15.3%, 68.9%, 18%)
CIE-LABlab(73.14, -0.48, 59.17)
CIE-LCHlch(73.14, 59.17, 90.47°)
OKLaboklab(76.84% -0.0066 0.1327)
OKLCHoklch(76.84% 0.133 92.8)
XYZxyz(42.9730, 45.3837, 11.4965)
Luminance0.4538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B141 #4161D1
analogous
#D16941 #D1B141 #A9D141
triadic
#D1B141 #41D1B1 #B141D1
tetradic
#D1B141 #41D169 #4161D1 #D141A9
square
#D1B141 #41D169 #4161D1 #D141A9
split-complementary
#D1B141 #41A9D1 #6941D1
monochromatic
#7A651E #AB8E29 #D1B141 #DDC572 #E9D9A4

Accessibility & contrast

On white

2.08
#D1B141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#D1B141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B141
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B141#FFFFFF#000000##000000
##D1B1411.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1b141;
/* rgb */ color: rgb(209, 177, 65);
/* oklch */ color: oklch(76.8% 0.133 92.8);
Tailwind
colors: {
  custom: {
    50: '#e3c87c',
    500: '#d1b141',
    950: '#000000',
  },
}
SCSS
$custom: #d1b141;
$custom-light: #e3c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b141",
  "rgb": {
    "r": 209,
    "g": 177,
    "b": 65
  },
  "hsl": {
    "h": 46.667,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7684,
    "c": 0.13284,
    "h": 92.8
  },
  "luminance": 0.45381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1B141

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

Preview Lab → · Contrast checker → · Palette generator →

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