#D4D94C#D4D94C

#D4D94C is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.6% C 0.160 H 111.3°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#D4D94C
RGBrgb(212, 217, 76)
HSLhsl(62, 65%, 57%)
HSVhsv(62, 65%, 85%)
CMYKcmyk(2.3%, 0%, 65%, 14.9%)
CIE-LABlab(84.04, -18.97, 66.05)
CIE-LCHlch(84.04, 68.72, 106.03°)
OKLaboklab(85.59% -0.058 0.1489)
OKLCHoklch(85.59% 0.16 111.3)
XYZxyz(53.2703, 64.1459, 16.4113)
Luminance0.6414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D94C #514CD9
analogous
#D9984C #D4D94C #8DD94C
triadic
#D4D94C #4CD4D9 #D94CD4
tetradic
#D4D94C #4CD998 #514CD9 #D94C8D
square
#D4D94C #4CD998 #514CD9 #D94C8D
split-complementary
#D4D94C #4C8DD9 #984CD9
monochromatic
#898D1E #BABF29 #D4D94C #E0E47E #ECEEB1

Accessibility & contrast

On white

1.52
#D4D94C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#D4D94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D94C
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D94C#FFFFFF#000000##000000
##D4D94C1.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D038
Deuteranopia (green-blind)
#EAD356
Tritanopia (blue-blind)
#E2CCBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d4d94c;
/* rgb */ color: rgb(212, 217, 76);
/* oklch */ color: oklch(85.6% 0.160 111.3);
Tailwind
colors: {
  custom: {
    50: '#e4e485',
    500: '#d4d94c',
    950: '#000000',
  },
}
SCSS
$custom: #d4d94c;
$custom-light: #e4e485;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d94c",
  "rgb": {
    "r": 212,
    "g": 217,
    "b": 76
  },
  "hsl": {
    "h": 62.128,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.85589,
    "c": 0.15981,
    "h": 111.3
  },
  "luminance": 0.64145
}

Semantic roles & 50–950 ramp

primary
#D4D94C
secondary
#3A3792
accent
#40E846
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D94C

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

Preview Lab → · Contrast checker → · Palette generator →

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