#D4D93D#D4D93D

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

Color values

HEX#D4D93D
RGBrgb(212, 217, 61)
HSLhsl(62, 67%, 55%)
HSVhsv(62, 72%, 85%)
CMYKcmyk(2.3%, 0%, 71.9%, 14.9%)
CIE-LABlab(83.95, -19.75, 71.43)
CIE-LCHlch(83.95, 74.11, 105.46°)
OKLaboklab(85.48% -0.0617 0.1578)
OKLCHoklch(85.48% 0.169 111.3)
XYZxyz(52.8083, 63.9610, 13.9779)
Luminance0.6396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D93D #423DD9
analogous
#D9903D #D4D93D #86D93D
triadic
#D4D93D #3DD4D9 #D93DD4
tetradic
#D4D93D #3DD990 #423DD9 #D93D86
square
#D4D93D #3DD990 #423DD9 #D93D86
split-complementary
#D4D93D #3D86D9 #903DD9
monochromatic
#7F8219 #B1B524 #D4D93D #DFE370 #EBEDA3

Accessibility & contrast

On white

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

On black

13.79
#D4D93D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D93D
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D93D#FFFFFF#000000##000000
##D4D93D1.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACF1E
Deuteranopia (green-blind)
#EBD349
Tritanopia (blue-blind)
#E3CCBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d4d93d;
/* rgb */ color: rgb(212, 217, 61);
/* oklch */ color: oklch(85.5% 0.169 111.3);
Tailwind
colors: {
  custom: {
    50: '#e5e47d',
    500: '#d4d93d',
    950: '#000000',
  },
}
SCSS
$custom: #d4d93d;
$custom-light: #e5e47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d93d",
  "rgb": {
    "r": 212,
    "g": 217,
    "b": 61
  },
  "hsl": {
    "h": 61.923,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.85482,
    "c": 0.16941,
    "h": 111.3
  },
  "luminance": 0.6396
}

Semantic roles & 50–950 ramp

primary
#D4D93D
secondary
#343189
accent
#3EEA43
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D93D

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

Preview Lab → · Contrast checker → · Palette generator →

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