#D8DA37#D8DA37

#D8DA37 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.0% C 0.173 H 110.3°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#D8DA37
RGBrgb(216, 218, 55)
HSLhsl(61, 69%, 54%)
HSVhsv(61, 75%, 85%)
CMYKcmyk(0.9%, 0%, 74.8%, 14.5%)
CIE-LABlab(84.49, -18.84, 73.99)
CIE-LCHlch(84.49, 76.35, 104.28°)
OKLaboklab(85.99% -0.0598 0.1621)
OKLCHoklch(85.99% 0.173 110.3)
XYZxyz(54.0819, 65.0191, 13.3148)
Luminance0.6502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DA37 #3937DA
analogous
#DA8A37 #D8DA37 #86DA37
triadic
#D8DA37 #37D8DA #DA37D8
tetradic
#D8DA37 #37DA8A #3937DA #DA3786
square
#D8DA37 #37DA8A #3937DA #DA3786
split-complementary
#D8DA37 #3786DA #8A37DA
monochromatic
#7E7F18 #B1B321 #D8DA37 #E2E46B #ECED9E

Accessibility & contrast

On white

1.50
#D8DA37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#D8DA37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DA37
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DA37#FFFFFF#000000##000000
##D8DA371.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD00C
Deuteranopia (green-blind)
#EDD545
Tritanopia (blue-blind)
#E7CCBB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d8da37;
/* rgb */ color: rgb(216, 218, 55);
/* oklch */ color: oklch(86.0% 0.173 110.3);
Tailwind
colors: {
  custom: {
    50: '#e8e57b',
    500: '#d8da37',
    950: '#000000',
  },
}
SCSS
$custom: #d8da37;
$custom-light: #e8e57b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8da37",
  "rgb": {
    "r": 216,
    "g": 218,
    "b": 55
  },
  "hsl": {
    "h": 60.736,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.85986,
    "c": 0.17274,
    "h": 110.3
  },
  "luminance": 0.65018
}

Semantic roles & 50–950 ramp

primary
#D8DA37
secondary
#302F86
accent
#3CEC3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D8DA37

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

Preview Lab → · Contrast checker → · Palette generator →

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