#D4D93F#D4D93F

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

Color values

HEX#D4D93F
RGBrgb(212, 217, 63)
HSLhsl(62, 67%, 55%)
HSVhsv(62, 71%, 85%)
CMYKcmyk(2.3%, 0%, 71%, 14.9%)
CIE-LABlab(83.96, -19.66, 70.76)
CIE-LCHlch(83.96, 73.44, 105.53°)
OKLaboklab(85.5% -0.0612 0.1567)
OKLCHoklch(85.5% 0.168 111.3)
XYZxyz(52.8632, 63.9830, 14.2669)
Luminance0.6398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D93F #443FD9
analogous
#D9913F #D4D93F #87D93F
triadic
#D4D93F #3FD4D9 #D93FD4
tetradic
#D4D93F #3FD991 #443FD9 #D93F87
square
#D4D93F #3FD991 #443FD9 #D93F87
split-complementary
#D4D93F #3F87D9 #913FD9
monochromatic
#80841A #B2B724 #D4D93F #DFE372 #EBEDA5

Accessibility & contrast

On white

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

On black

13.80
#D4D93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D93F
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D93F#FFFFFF#000000##000000
##D4D93F1.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d93f;
/* rgb */ color: rgb(212, 217, 63);
/* oklch */ color: oklch(85.5% 0.168 111.3);
Tailwind
colors: {
  custom: {
    50: '#e5e47e',
    500: '#d4d93f',
    950: '#000000',
  },
}
SCSS
$custom: #d4d93f;
$custom-light: #e5e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d93f",
  "rgb": {
    "r": 212,
    "g": 217,
    "b": 63
  },
  "hsl": {
    "h": 61.948,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.85495,
    "c": 0.16825,
    "h": 111.3
  },
  "luminance": 0.63982
}

Semantic roles & 50–950 ramp

primary
#D4D93F
secondary
#35328A
accent
#3EEA44
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D93F

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

Preview Lab → · Contrast checker → · Palette generator →

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