#D4D843#D4D843

#D4D843 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.3% C 0.165 H 111.0°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#D4D843
RGBrgb(212, 216, 67)
HSLhsl(62, 66%, 55%)
HSVhsv(62, 69%, 85%)
CMYKcmyk(1.9%, 0%, 69%, 15.3%)
CIE-LABlab(83.71, -18.97, 69.11)
CIE-LCHlch(83.71, 71.66, 105.35°)
OKLaboklab(85.31% -0.0589 0.1539)
OKLCHoklch(85.31% 0.165 111)
XYZxyz(52.7221, 63.5154, 14.7915)
Luminance0.6351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D843 #4743D8
analogous
#D89243 #D4D843 #89D843
triadic
#D4D843 #43D4D8 #D843D4
tetradic
#D4D843 #43D892 #4743D8 #D84389
square
#D4D843 #43D892 #4743D8 #D84389
split-complementary
#D4D843 #4389D8 #9243D8
monochromatic
#82851C #B4B826 #D4D843 #E0E376 #EBEDA8

Accessibility & contrast

On white

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

On black

13.70
#D4D843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D843
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D843#FFFFFF#000000##000000
##D4D8431.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d843;
/* rgb */ color: rgb(212, 216, 67);
/* oklch */ color: oklch(85.3% 0.165 111.0);
Tailwind
colors: {
  custom: {
    50: '#e5e380',
    500: '#d4d843',
    950: '#000000',
  },
}
SCSS
$custom: #d4d843;
$custom-light: #e5e380;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d843",
  "rgb": {
    "r": 212,
    "g": 216,
    "b": 67
  },
  "hsl": {
    "h": 61.611,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.85307,
    "c": 0.1648,
    "h": 111
  },
  "luminance": 0.63514
}

Semantic roles & 50–950 ramp

primary
#D4D843
secondary
#36348C
accent
#3FE944
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D843

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

Preview Lab → · Contrast checker → · Palette generator →

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