#D4B95F#D4B95F

#D4B95F is a light, moderate yellow. Relative luminance 0.495; OKLCH L 79.1% C 0.114 H 92.9°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#D4B95F
RGBrgb(212, 185, 95)
HSLhsl(46, 58%, 60%)
HSVhsv(46, 55%, 83%)
CMYKcmyk(0%, 12.7%, 55.2%, 16.9%)
CIE-LABlab(75.78, -1.41, 48.61)
CIE-LCHlch(75.78, 48.63, 91.67°)
OKLaboklab(79.07% -0.0059 0.1142)
OKLCHoklch(79.07% 0.114 92.9)
XYZxyz(46.5677, 49.5234, 17.9303)
Luminance0.4952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B95F #5F7AD4
analogous
#D47F5F #D4B95F #B4D45F
triadic
#D4B95F #5FD4B9 #B95FD4
tetradic
#D4B95F #5FD47F #5F7AD4 #D45FB4
square
#D4B95F #5FD47F #5F7AD4 #D45FB4
split-complementary
#D4B95F #5FB4D4 #7F5FD4
monochromatic
#917927 #C2A134 #D4B95F #E1CE8F #EEE3BF

Accessibility & contrast

On white

1.93
#D4B95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#D4B95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B95F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B95F#FFFFFF#000000##000000
##D4B95F1.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB657
Deuteranopia (green-blind)
#D0BE63
Tritanopia (blue-blind)
#E3ADA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d4b95f;
/* rgb */ color: rgb(212, 185, 95);
/* oklch */ color: oklch(79.1% 0.114 92.9);
Tailwind
colors: {
  custom: {
    50: '#e4cd8f',
    500: '#d4b95f',
    950: '#000000',
  },
}
SCSS
$custom: #d4b95f;
$custom-light: #e4cd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b95f",
  "rgb": {
    "r": 212,
    "g": 185,
    "b": 95
  },
  "hsl": {
    "h": 46.154,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.79075,
    "c": 0.1143,
    "h": 92.9
  },
  "luminance": 0.49521
}

Semantic roles & 50–950 ramp

primary
#D4B95F
secondary
#B1BBDE
accent
#46C520
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D4B95F

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

Preview Lab → · Contrast checker → · Palette generator →

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