#D4D84B#D4D84B

#D4D84B is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.4% C 0.159 H 110.9°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#D4D84B
RGBrgb(212, 216, 75)
HSLhsl(62, 64%, 57%)
HSVhsv(62, 65%, 85%)
CMYKcmyk(1.9%, 0%, 65.3%, 15.3%)
CIE-LABlab(83.77, -18.54, 66.16)
CIE-LCHlch(83.77, 68.70, 105.65°)
OKLaboklab(85.37% -0.0569 0.149)
OKLCHoklch(85.37% 0.159 110.9)
XYZxyz(52.9789, 63.6181, 16.1440)
Luminance0.6362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D84B #4F4BD8
analogous
#D8964B #D4D84B #8ED84B
triadic
#D4D84B #4BD4D8 #D84BD4
tetradic
#D4D84B #4BD896 #4F4BD8 #D84B8E
square
#D4D84B #4BD896 #4F4BD8 #D84B8E
split-complementary
#D4D84B #4B8ED8 #964BD8
monochromatic
#878B1E #B9BD29 #D4D84B #E0E37D #ECEEB0

Accessibility & contrast

On white

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

On black

13.72
#D4D84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D84B
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D84B#FFFFFF#000000##000000
##D4D84B1.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF37
Deuteranopia (green-blind)
#E9D355
Tritanopia (blue-blind)
#E2CBBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d4d84b;
/* rgb */ color: rgb(212, 216, 75);
/* oklch */ color: oklch(85.4% 0.159 110.9);
Tailwind
colors: {
  custom: {
    50: '#e4e385',
    500: '#d4d84b',
    950: '#000000',
  },
}
SCSS
$custom: #d4d84b;
$custom-light: #e4e385;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d84b",
  "rgb": {
    "r": 212,
    "g": 216,
    "b": 75
  },
  "hsl": {
    "h": 61.702,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.85367,
    "c": 0.15948,
    "h": 110.9
  },
  "luminance": 0.63617
}

Semantic roles & 50–950 ramp

primary
#D4D84B
secondary
#393790
accent
#40E745
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4D84B

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

Preview Lab → · Contrast checker → · Palette generator →

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