#D1B95F#D1B95F

#D1B95F is a light, moderate yellow. Relative luminance 0.491; OKLCH L 78.8% C 0.114 H 94.7°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#D1B95F
RGBrgb(209, 185, 95)
HSLhsl(47, 55%, 60%)
HSVhsv(47, 55%, 82%)
CMYKcmyk(0%, 11.5%, 54.5%, 18%)
CIE-LABlab(75.50, -2.67, 48.22)
CIE-LCHlch(75.50, 48.29, 93.17°)
OKLaboklab(78.79% -0.0093 0.1134)
OKLCHoklch(78.79% 0.114 94.7)
XYZxyz(45.7107, 49.0815, 17.8902)
Luminance0.4908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B95F #5F77D1
analogous
#D1805F #D1B95F #B0D15F
triadic
#D1B95F #5FD1B9 #B95FD1
tetradic
#D1B95F #5FD180 #5F77D1 #D15FB0
square
#D1B95F #5FD180 #5F77D1 #D15FB0
split-complementary
#D1B95F #5FB0D1 #805FD1
monochromatic
#8D7829 #BDA036 #D1B95F #DFCE8F #ECE3BE

Accessibility & contrast

On white

1.94
#D1B95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#D1B95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B95F
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B95F#FFFFFF#000000##000000
##D1B95F1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B657
Deuteranopia (green-blind)
#CFBD63
Tritanopia (blue-blind)
#E0ADA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d1b95f;
/* rgb */ color: rgb(209, 185, 95);
/* oklch */ color: oklch(78.8% 0.114 94.7);
Tailwind
colors: {
  custom: {
    50: '#e1cd8f',
    500: '#d1b95f',
    950: '#000000',
  },
}
SCSS
$custom: #d1b95f;
$custom-light: #e1cd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b95f",
  "rgb": {
    "r": 209,
    "g": 185,
    "b": 95
  },
  "hsl": {
    "h": 47.368,
    "s": 55.34,
    "l": 59.608
  },
  "oklch": {
    "l": 0.78794,
    "c": 0.11374,
    "h": 94.7
  },
  "luminance": 0.49079
}

Semantic roles & 50–950 ramp

primary
#D1B95F
secondary
#B0B9DC
accent
#69DF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D1B95F

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

Preview Lab → · Contrast checker → · Palette generator →

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