#D1B950#D1B950

#D1B950 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.6% C 0.127 H 96.5°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#D1B950
RGBrgb(209, 185, 80)
HSLhsl(49, 58%, 57%)
HSVhsv(49, 62%, 82%)
CMYKcmyk(0%, 11.5%, 61.7%, 18%)
CIE-LABlab(75.35, -3.78, 55.04)
CIE-LCHlch(75.35, 55.17, 93.92°)
OKLaboklab(78.62% -0.0143 0.1263)
OKLCHoklch(78.62% 0.127 96.5)
XYZxyz(45.0934, 48.8345, 14.6386)
Luminance0.4883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B950 #5068D1
analogous
#D17950 #D1B950 #A9D150
triadic
#D1B950 #50D1B9 #B950D1
tetradic
#D1B950 #50D179 #5068D1 #D150A9
square
#D1B950 #50D179 #5068D1 #D150A9
split-complementary
#D1B950 #50A9D1 #7950D1
monochromatic
#847223 #B49C2F #D1B950 #DECC80 #EAE0B1

Accessibility & contrast

On white

1.95
#D1B950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#D1B950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B950
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B950#FFFFFF#000000##000000
##D1B9501.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB544
Deuteranopia (green-blind)
#D0BD55
Tritanopia (blue-blind)
#E0ACA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d1b950;
/* rgb */ color: rgb(209, 185, 80);
/* oklch */ color: oklch(78.6% 0.127 96.5);
Tailwind
colors: {
  custom: {
    50: '#e2cd85',
    500: '#d1b950',
    950: '#000000',
  },
}
SCSS
$custom: #d1b950;
$custom-light: #e2cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b950",
  "rgb": {
    "r": 209,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 48.837,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78623,
    "c": 0.12706,
    "h": 96.5
  },
  "luminance": 0.48832
}

Semantic roles & 50–950 ramp

primary
#D1B950
secondary
#A4AED9
accent
#63E246
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B950

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

Preview Lab → · Contrast checker → · Palette generator →

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