#D7DF51#D7DF51

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

Color values

HEX#D7DF51
RGBrgb(215, 223, 81)
HSLhsl(63, 69%, 60%)
HSVhsv(63, 64%, 87%)
CMYKcmyk(3.6%, 0%, 63.7%, 12.5%)
CIE-LABlab(85.92, -20.38, 66.10)
CIE-LCHlch(85.92, 69.17, 107.13°)
OKLaboklab(87.16% -0.0617 0.1497)
OKLCHoklch(87.16% 0.162 112.4)
XYZxyz(55.8988, 67.8177, 17.9285)
Luminance0.6782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DF51 #5951DF
analogous
#DFA051 #D7DF51 #90DF51
triadic
#D7DF51 #51D7DF #DF51D7
tetradic
#D7DF51 #51DFA0 #5951DF #DF5190
square
#D7DF51 #51DFA0 #5951DF #DF5190
split-complementary
#D7DF51 #5190DF #A051DF
monochromatic
#92991C #C4CD26 #D7DF51 #E3E985 #EFF2B8

Accessibility & contrast

On white

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

On black

14.56
#D7DF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DF51
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DF51#FFFFFF#000000##000000
##D7DF511.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7df51;
/* rgb */ color: rgb(215, 223, 81);
/* oklch */ color: oklch(87.2% 0.162 112.4);
Tailwind
colors: {
  custom: {
    50: '#e6e889',
    500: '#d7df51',
    950: '#000000',
  },
}
SCSS
$custom: #d7df51;
$custom-light: #e6e889;
$custom-dark: #000000;
JSON
{
  "hex": "#d7df51",
  "rgb": {
    "r": 215,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 63.38,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.87156,
    "c": 0.16186,
    "h": 112.4
  },
  "luminance": 0.67817
}

Semantic roles & 50–950 ramp

primary
#D7DF51
secondary
#3D379D
accent
#3CEC46
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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