#D1B140#D1B140

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

Color values

HEX#D1B140
RGBrgb(209, 177, 64)
HSLhsl(47, 61%, 54%)
HSVhsv(47, 69%, 82%)
CMYKcmyk(0%, 15.3%, 69.4%, 18%)
CIE-LABlab(73.14, -0.54, 59.57)
CIE-LCHlch(73.14, 59.57, 90.52°)
OKLaboklab(76.83% -0.0069 0.1334)
OKLCHoklch(76.83% 0.134 92.9)
XYZxyz(42.9443, 45.3722, 11.3452)
Luminance0.4537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B140 #4060D1
analogous
#D16840 #D1B140 #A8D140
triadic
#D1B140 #40D1B1 #B140D1
tetradic
#D1B140 #40D168 #4060D1 #D140A8
square
#D1B140 #40D168 #4060D1 #D140A8
split-complementary
#D1B140 #40A8D1 #6840D1
monochromatic
#79651D #AB8E29 #D1B140 #DDC571 #E9D9A3

Accessibility & contrast

On white

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

On black

10.07
#D1B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B140
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B140#FFFFFF#000000##000000
##D1B1401.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1b140;
/* rgb */ color: rgb(209, 177, 64);
/* oklch */ color: oklch(76.8% 0.134 92.9);
Tailwind
colors: {
  custom: {
    50: '#e3c87b',
    500: '#d1b140',
    950: '#000000',
  },
}
SCSS
$custom: #d1b140;
$custom-light: #e3c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b140",
  "rgb": {
    "r": 209,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 46.759,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76832,
    "c": 0.13354,
    "h": 92.9
  },
  "luminance": 0.4537
}

Semantic roles & 50–950 ramp

primary
#D1B140
secondary
#97A5D5
accent
#67E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B140

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

Preview Lab → · Contrast checker → · Palette generator →

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