#D4C95D#D4C95D

#D4C95D is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.4% C 0.130 H 103.5°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#D4C95D
RGBrgb(212, 201, 93)
HSLhsl(54, 58%, 60%)
HSVhsv(54, 56%, 83%)
CMYKcmyk(0%, 5.2%, 56.1%, 16.9%)
CIE-LABlab(79.93, -9.83, 54.36)
CIE-LCHlch(79.93, 55.24, 100.26°)
OKLaboklab(82.36% -0.0303 0.1264)
OKLCHoklch(82.36% 0.13 103.5)
XYZxyz(50.0154, 56.5624, 18.6368)
Luminance0.5656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C95D #5D68D4
analogous
#D48E5D #D4C95D #A3D45D
triadic
#D4C95D #5DD4C9 #C95DD4
tetradic
#D4C95D #5DD48E #5D68D4 #D45DA3
square
#D4C95D #5DD48E #5D68D4 #D45DA3
split-complementary
#D4C95D #5DA3D4 #8E5DD4
monochromatic
#908726 #C1B433 #D4C95D #E1D98D #EEE9BE

Accessibility & contrast

On white

1.71
#D4C95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#D4C95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C95D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C95D#FFFFFF#000000##000000
##D4C95D1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C352
Deuteranopia (green-blind)
#DDC962
Tritanopia (blue-blind)
#E2BDB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d4c95d;
/* rgb */ color: rgb(212, 201, 93);
/* oklch */ color: oklch(82.4% 0.130 103.5);
Tailwind
colors: {
  custom: {
    50: '#e4d98e',
    500: '#d4c95d',
    950: '#000000',
  },
}
SCSS
$custom: #d4c95d;
$custom-light: #e4d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c95d",
  "rgb": {
    "r": 212,
    "g": 201,
    "b": 93
  },
  "hsl": {
    "h": 54.454,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82361,
    "c": 0.12994,
    "h": 103.5
  },
  "luminance": 0.56561
}

Semantic roles & 50–950 ramp

primary
#D4C95D
secondary
#3F4796
accent
#55E147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D4C95D

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

Preview Lab → · Contrast checker → · Palette generator →

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