#D4D85E#D4D85E

#D4D85E is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.5% C 0.145 H 110.8°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#D4D85E
RGBrgb(212, 216, 94)
HSLhsl(62, 61%, 61%)
HSVhsv(62, 56%, 85%)
CMYKcmyk(1.9%, 0%, 56.5%, 15.3%)
CIE-LABlab(83.92, -17.28, 58.41)
CIE-LCHlch(83.92, 60.92, 106.48°)
OKLaboklab(85.54% -0.0514 0.1352)
OKLCHoklch(85.54% 0.145 110.8)
XYZxyz(53.7290, 63.9182, 20.0946)
Luminance0.6392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D85E #625ED8
analogous
#D89F5E #D4D85E #97D85E
triadic
#D4D85E #5ED4D8 #D85ED4
tetradic
#D4D85E #5ED89F #625ED8 #D85E97
square
#D4D85E #5ED89F #625ED8 #D85E97
split-complementary
#D4D85E #5E97D8 #9F5ED8
monochromatic
#939725 #C3C831 #D4D85E #E1E48F #EEF0C1

Accessibility & contrast

On white

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

On black

13.78
#D4D85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D85E
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D85E#FFFFFF#000000##000000
##D4D85E1.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF51
Deuteranopia (green-blind)
#E8D365
Tritanopia (blue-blind)
#E1CCBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d4d85e;
/* rgb */ color: rgb(212, 216, 94);
/* oklch */ color: oklch(85.5% 0.145 110.8);
Tailwind
colors: {
  custom: {
    50: '#e4e390',
    500: '#d4d85e',
    950: '#000000',
  },
}
SCSS
$custom: #d4d85e;
$custom-light: #e4e390;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d85e",
  "rgb": {
    "r": 212,
    "g": 216,
    "b": 94
  },
  "hsl": {
    "h": 61.967,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85543,
    "c": 0.1446,
    "h": 110.8
  },
  "luminance": 0.63917
}

Semantic roles & 50–950 ramp

primary
#D4D85E
secondary
#423F9C
accent
#1DC922
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4D85E

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

Preview Lab → · Contrast checker → · Palette generator →

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