#D7DF54#D7DF54

#D7DF54 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.2% C 0.160 H 112.4°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#D7DF54
RGBrgb(215, 223, 84)
HSLhsl(63, 68%, 60%)
HSVhsv(63, 62%, 87%)
CMYKcmyk(3.6%, 0%, 62.3%, 12.5%)
CIE-LABlab(85.94, -20.19, 64.91)
CIE-LCHlch(85.94, 67.98, 107.28°)
OKLaboklab(87.18% -0.0608 0.1476)
OKLCHoklch(87.18% 0.16 112.4)
XYZxyz(56.0138, 67.8637, 18.5341)
Luminance0.6786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DF54 #5C54DF
analogous
#DFA154 #D7DF54 #92DF54
triadic
#D7DF54 #54D7DF #DF54D7
tetradic
#D7DF54 #54DFA1 #5C54DF #DF5492
square
#D7DF54 #54DFA1 #5C54DF #DF5492
split-complementary
#D7DF54 #5492DF #A154DF
monochromatic
#949C1D #C5CF27 #D7DF54 #E3E988 #EFF2BB

Accessibility & contrast

On white

1.44
#D7DF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#D7DF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DF54
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DF54#FFFFFF#000000##000000
##D7DF541.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD542
Deuteranopia (green-blind)
#EFD95D
Tritanopia (blue-blind)
#E5D2C2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d7df54;
/* rgb */ color: rgb(215, 223, 84);
/* oklch */ color: oklch(87.2% 0.160 112.4);
Tailwind
colors: {
  custom: {
    50: '#e6e88a',
    500: '#d7df54',
    950: '#000000',
  },
}
SCSS
$custom: #d7df54;
$custom-light: #e6e88a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7df54",
  "rgb": {
    "r": 215,
    "g": 223,
    "b": 84
  },
  "hsl": {
    "h": 63.453,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87182,
    "c": 0.15963,
    "h": 112.4
  },
  "luminance": 0.67863
}

Semantic roles & 50–950 ramp

primary
#D7DF54
secondary
#3E389F
accent
#15D020
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7DF54

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

Preview Lab → · Contrast checker → · Palette generator →

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