#D1B150#D1B150

#D1B150 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 77.0% C 0.121 H 91.0°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#D1B150
RGBrgb(209, 177, 80)
HSLhsl(45, 58%, 57%)
HSVhsv(45, 62%, 82%)
CMYKcmyk(0%, 15.3%, 61.7%, 18%)
CIE-LABlab(73.27, 0.42, 52.74)
CIE-LCHlch(73.27, 52.74, 89.54°)
OKLaboklab(76.98% -0.0022 0.1214)
OKLCHoklch(76.98% 0.121 91)
XYZxyz(43.4666, 45.5811, 14.0964)
Luminance0.4558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B150 #5070D1
analogous
#D17150 #D1B150 #B1D150
triadic
#D1B150 #50D1B1 #B150D1
tetradic
#D1B150 #50D171 #5070D1 #D150B1
square
#D1B150 #50D171 #5070D1 #D150B1
split-complementary
#D1B150 #50B1D1 #7150D1
monochromatic
#846C23 #B4932F #D1B150 #DEC780 #EADCB1

Accessibility & contrast

On white

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

On black

10.12
#D1B150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B150
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B150#FFFFFF#000000##000000
##D1B1501.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF46
Deuteranopia (green-blind)
#CBB854
Tritanopia (blue-blind)
#E1A49C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d1b150;
/* rgb */ color: rgb(209, 177, 80);
/* oklch */ color: oklch(77.0% 0.121 91.0);
Tailwind
colors: {
  custom: {
    50: '#e2c885',
    500: '#d1b150',
    950: '#000000',
  },
}
SCSS
$custom: #d1b150;
$custom-light: #e2c885;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b150",
  "rgb": {
    "r": 209,
    "g": 177,
    "b": 80
  },
  "hsl": {
    "h": 45.116,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.76983,
    "c": 0.12137,
    "h": 91
  },
  "luminance": 0.45579
}

Semantic roles & 50–950 ramp

primary
#D1B150
secondary
#A4B1D9
accent
#6DE246
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B150

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

Preview Lab → · Contrast checker → · Palette generator →

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