#D4D95C#D4D95C

#D4D95C is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.7% C 0.147 H 111.3°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#D4D95C
RGBrgb(212, 217, 92)
HSLhsl(62, 62%, 61%)
HSVhsv(62, 58%, 85%)
CMYKcmyk(2.3%, 0%, 57.6%, 14.9%)
CIE-LABlab(84.17, -17.92, 59.57)
CIE-LCHlch(84.17, 62.20, 106.75°)
OKLaboklab(85.74% -0.0534 0.1374)
OKLCHoklch(85.74% 0.147 111.3)
XYZxyz(53.8974, 64.3967, 19.7137)
Luminance0.6440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D95C #615CD9
analogous
#D99F5C #D4D95C #95D95C
triadic
#D4D95C #5CD4D9 #D95CD4
tetradic
#D4D95C #5CD99F #615CD9 #D95C95
square
#D4D95C #5CD99F #615CD9 #D95C95
split-complementary
#D4D95C #5C95D9 #9F5CD9
monochromatic
#939723 #C3C92F #D4D95C #E1E58E #EEF0BF

Accessibility & contrast

On white

1.51
#D4D95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.88
#D4D95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D95C
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D95C#FFFFFF#000000##000000
##D4D95C1.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04E
Deuteranopia (green-blind)
#E9D463
Tritanopia (blue-blind)
#E1CDBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d4d95c;
/* rgb */ color: rgb(212, 217, 92);
/* oklch */ color: oklch(85.7% 0.147 111.3);
Tailwind
colors: {
  custom: {
    50: '#e4e48f',
    500: '#d4d95c',
    950: '#000000',
  },
}
SCSS
$custom: #d4d95c;
$custom-light: #e4e48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d95c",
  "rgb": {
    "r": 212,
    "g": 217,
    "b": 92
  },
  "hsl": {
    "h": 62.4,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85735,
    "c": 0.1474,
    "h": 111.3
  },
  "luminance": 0.64395
}

Semantic roles & 50–950 ramp

primary
#D4D95C
secondary
#413D9C
accent
#1CCA23
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4D95C

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

Preview Lab → · Contrast checker → · Palette generator →

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