#D4D943#D4D943

#D4D943 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.5% C 0.166 H 111.3°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#D4D943
RGBrgb(212, 217, 67)
HSLhsl(62, 66%, 56%)
HSVhsv(62, 69%, 85%)
CMYKcmyk(2.3%, 0%, 69.1%, 14.9%)
CIE-LABlab(83.98, -19.46, 69.37)
CIE-LCHlch(83.98, 72.05, 105.67°)
OKLaboklab(85.52% -0.0603 0.1545)
OKLCHoklch(85.52% 0.166 111.3)
XYZxyz(52.9791, 64.0293, 14.8772)
Luminance0.6403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D943 #4843D9
analogous
#D99343 #D4D943 #89D943
triadic
#D4D943 #43D4D9 #D943D4
tetradic
#D4D943 #43D993 #4843D9 #D94389
square
#D4D943 #43D993 #4843D9 #D94389
split-complementary
#D4D943 #4389D9 #9343D9
monochromatic
#83861B #B4B925 #D4D943 #E0E376 #EBEEA9

Accessibility & contrast

On white

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

On black

13.81
#D4D943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D943
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D943#FFFFFF#000000##000000
##D4D9431.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d943;
/* rgb */ color: rgb(212, 217, 67);
/* oklch */ color: oklch(85.5% 0.166 111.3);
Tailwind
colors: {
  custom: {
    50: '#e5e480',
    500: '#d4d943',
    950: '#000000',
  },
}
SCSS
$custom: #d4d943;
$custom-light: #e5e480;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d943",
  "rgb": {
    "r": 212,
    "g": 217,
    "b": 67
  },
  "hsl": {
    "h": 62,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.85522,
    "c": 0.16581,
    "h": 111.3
  },
  "luminance": 0.64028
}

Semantic roles & 50–950 ramp

primary
#D4D943
secondary
#36338D
accent
#3FE944
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D943

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

Preview Lab → · Contrast checker → · Palette generator →

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