#D4B95C#D4B95C

#D4B95C is a light, moderate yellow. Relative luminance 0.495; OKLCH L 79.0% C 0.117 H 93.4°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#D4B95C
RGBrgb(212, 185, 92)
HSLhsl(47, 58%, 60%)
HSVhsv(47, 57%, 83%)
CMYKcmyk(0%, 12.7%, 56.6%, 16.9%)
CIE-LABlab(75.74, -1.65, 50.01)
CIE-LCHlch(75.74, 50.03, 91.89°)
OKLaboklab(79.04% -0.0069 0.1169)
OKLCHoklch(79.04% 0.117 93.4)
XYZxyz(46.4340, 49.4699, 17.2259)
Luminance0.4947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B95C #5C77D4
analogous
#D47D5C #D4B95C #B3D45C
triadic
#D4B95C #5CD4B9 #B95CD4
tetradic
#D4B95C #5CD47D #5C77D4 #D45CB3
square
#D4B95C #5CD47D #5C77D4 #D45CB3
split-complementary
#D4B95C #5CB3D4 #7D5CD4
monochromatic
#907826 #C0A033 #D4B95C #E1CE8C #EEE3BD

Accessibility & contrast

On white

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

On black

10.89
#D4B95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B95C
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B95C#FFFFFF#000000##000000
##D4B95C1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4b95c;
/* rgb */ color: rgb(212, 185, 92);
/* oklch */ color: oklch(79.0% 0.117 93.4);
Tailwind
colors: {
  custom: {
    50: '#e4cd8d',
    500: '#d4b95c',
    950: '#000000',
  },
}
SCSS
$custom: #d4b95c;
$custom-light: #e4cd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b95c",
  "rgb": {
    "r": 212,
    "g": 185,
    "b": 92
  },
  "hsl": {
    "h": 46.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.79038,
    "c": 0.11706,
    "h": 93.4
  },
  "luminance": 0.49468
}

Semantic roles & 50–950 ramp

primary
#D4B95C
secondary
#AFB9DD
accent
#69E146
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D4B95C

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

Preview Lab → · Contrast checker → · Palette generator →

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