#D4D85A#D4D85A

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

Color values

HEX#D4D85A
RGBrgb(212, 216, 90)
HSLhsl(62, 62%, 60%)
HSVhsv(62, 58%, 85%)
CMYKcmyk(1.9%, 0%, 58.3%, 15.3%)
CIE-LABlab(83.89, -17.57, 60.12)
CIE-LCHlch(83.89, 62.63, 106.29°)
OKLaboklab(85.5% -0.0527 0.1383)
OKLCHoklch(85.5% 0.148 110.8)
XYZxyz(53.5541, 63.8482, 19.1737)
Luminance0.6385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D85A #5E5AD8
analogous
#D89D5A #D4D85A #95D85A
triadic
#D4D85A #5AD4D8 #D85AD4
tetradic
#D4D85A #5AD89D #5E5AD8 #D85A95
square
#D4D85A #5AD89D #5E5AD8 #D85A95
split-complementary
#D4D85A #5A95D8 #9D5AD8
monochromatic
#919523 #C1C62F #D4D85A #E1E48B #EEEFBD

Accessibility & contrast

On white

1.53
#D4D85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#D4D85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D85A
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D85A#FFFFFF#000000##000000
##D4D85A1.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d85a;
/* rgb */ color: rgb(212, 216, 90);
/* oklch */ color: oklch(85.5% 0.148 110.8);
Tailwind
colors: {
  custom: {
    50: '#e4e38d',
    500: '#d4d85a',
    950: '#000000',
  },
}
SCSS
$custom: #d4d85a;
$custom-light: #e4e38d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d85a",
  "rgb": {
    "r": 212,
    "g": 216,
    "b": 90
  },
  "hsl": {
    "h": 61.905,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.85502,
    "c": 0.14798,
    "h": 110.8
  },
  "luminance": 0.63847
}

Semantic roles & 50–950 ramp

primary
#D4D85A
secondary
#403D99
accent
#43E548
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4D85A

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

Preview Lab → · Contrast checker → · Palette generator →

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