#D4D93B#D4D93B

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

Color values

HEX#D4D93B
RGBrgb(212, 217, 59)
HSLhsl(62, 68%, 54%)
HSVhsv(62, 73%, 85%)
CMYKcmyk(2.3%, 0%, 72.8%, 14.9%)
CIE-LABlab(83.93, -19.84, 72.08)
CIE-LCHlch(83.93, 74.76, 105.39°)
OKLaboklab(85.47% -0.0621 0.1588)
OKLCHoklch(85.47% 0.171 111.3)
XYZxyz(52.7554, 63.9399, 13.6994)
Luminance0.6394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D93B #403BD9
analogous
#D98F3B #D4D93B #85D93B
triadic
#D4D93B #3BD4D9 #D93BD4
tetradic
#D4D93B #3BD98F #403BD9 #D93B85
square
#D4D93B #3BD98F #403BD9 #D93B85
split-complementary
#D4D93B #3B85D9 #8F3BD9
monochromatic
#7D8119 #AFB423 #D4D93B #DFE36E #EAEDA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4D93B#FFFFFF#000000##000000
##D4D93B1.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)
#EACF1A
Deuteranopia (green-blind)
#EBD348
Tritanopia (blue-blind)
#E3CCBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d4d93b;
/* rgb */ color: rgb(212, 217, 59);
/* oklch */ color: oklch(85.5% 0.171 111.3);
Tailwind
colors: {
  custom: {
    50: '#e5e47c',
    500: '#d4d93b',
    950: '#000000',
  },
}
SCSS
$custom: #d4d93b;
$custom-light: #e5e47c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d93b",
  "rgb": {
    "r": 212,
    "g": 217,
    "b": 59
  },
  "hsl": {
    "h": 61.899,
    "s": 67.521,
    "l": 54.118
  },
  "oklch": {
    "l": 0.8547,
    "c": 0.17053,
    "h": 111.3
  },
  "luminance": 0.63939
}

Semantic roles & 50–950 ramp

primary
#D4D93B
secondary
#333188
accent
#3DEA43
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4D93B

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

Preview Lab → · Contrast checker → · Palette generator →

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