#D4D93C#D4D93C

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

Color values

HEX#D4D93C
RGBrgb(212, 217, 60)
HSLhsl(62, 67%, 54%)
HSVhsv(62, 72%, 85%)
CMYKcmyk(2.3%, 0%, 72.4%, 14.9%)
CIE-LABlab(83.94, -19.80, 71.76)
CIE-LCHlch(83.94, 74.44, 105.42°)
OKLaboklab(85.48% -0.0619 0.1583)
OKLCHoklch(85.48% 0.17 111.3)
XYZxyz(52.7816, 63.9504, 13.8374)
Luminance0.6395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D93C #413CD9
analogous
#D9903C #D4D93C #86D93C
triadic
#D4D93C #3CD4D9 #D93CD4
tetradic
#D4D93C #3CD990 #413CD9 #D93C86
square
#D4D93C #3CD990 #413CD9 #D93C86
split-complementary
#D4D93C #3C86D9 #903CD9
monochromatic
#7E8119 #B0B523 #D4D93C #DFE36F #EBEDA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4D93C#FFFFFF#000000##000000
##D4D93C1.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)
#EACF1C
Deuteranopia (green-blind)
#EBD349
Tritanopia (blue-blind)
#E3CCBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d4d93c;
/* rgb */ color: rgb(212, 217, 60);
/* oklch */ color: oklch(85.5% 0.170 111.3);
Tailwind
colors: {
  custom: {
    50: '#e5e47d',
    500: '#d4d93c',
    950: '#000000',
  },
}
SCSS
$custom: #d4d93c;
$custom-light: #e5e47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d93c",
  "rgb": {
    "r": 212,
    "g": 217,
    "b": 60
  },
  "hsl": {
    "h": 61.911,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.85476,
    "c": 0.16998,
    "h": 111.3
  },
  "luminance": 0.63949
}

Semantic roles & 50–950 ramp

primary
#D4D93C
secondary
#343188
accent
#3EEA43
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4D93C

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

Preview Lab → · Contrast checker → · Palette generator →

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