#D7DA54#D7DA54

#D7DA54 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.1% C 0.154 H 110.5°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#D7DA54
RGBrgb(215, 218, 84)
HSLhsl(61, 64%, 59%)
HSVhsv(61, 61%, 85%)
CMYKcmyk(1.4%, 0%, 61.5%, 14.5%)
CIE-LABlab(84.60, -17.74, 63.49)
CIE-LCHlch(84.60, 65.93, 105.61°)
OKLaboklab(86.11% -0.0539 0.1446)
OKLCHoklch(86.11% 0.154 110.5)
XYZxyz(54.6976, 65.2314, 18.0954)
Luminance0.6523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DA54 #5754DA
analogous
#DA9A54 #D7DA54 #94DA54
triadic
#D7DA54 #54D7DA #DA54D7
tetradic
#D7DA54 #54DA9A #5754DA #DA5494
square
#D7DA54 #54DA9A #5754DA #DA5494
split-complementary
#D7DA54 #5494DA #9A54DA
monochromatic
#919420 #C2C62B #D7DA54 #E3E586 #EFF0B9

Accessibility & contrast

On white

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

On black

14.05
#D7DA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DA54
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DA54#FFFFFF#000000##000000
##D7DA541.001.5014.0514.05
#FFFFFF1.501.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD143
Deuteranopia (green-blind)
#EBD55C
Tritanopia (blue-blind)
#E5CDBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d7da54;
/* rgb */ color: rgb(215, 218, 84);
/* oklch */ color: oklch(86.1% 0.154 110.5);
Tailwind
colors: {
  custom: {
    50: '#e6e58a',
    500: '#d7da54',
    950: '#000000',
  },
}
SCSS
$custom: #d7da54;
$custom-light: #e6e58a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7da54",
  "rgb": {
    "r": 215,
    "g": 218,
    "b": 84
  },
  "hsl": {
    "h": 61.343,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86114,
    "c": 0.15432,
    "h": 110.5
  },
  "luminance": 0.6523
}

Semantic roles & 50–950 ramp

primary
#D7DA54
secondary
#3C3A98
accent
#40E744
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7DA54

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

Preview Lab → · Contrast checker → · Palette generator →

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