#D7DF57#D7DF57

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

Color values

HEX#D7DF57
RGBrgb(215, 223, 87)
HSLhsl(64, 68%, 61%)
HSVhsv(64, 61%, 87%)
CMYKcmyk(3.6%, 0%, 61%, 12.5%)
CIE-LABlab(85.96, -19.99, 63.71)
CIE-LCHlch(85.96, 66.77, 107.42°)
OKLaboklab(87.21% -0.06 0.1455)
OKLCHoklch(87.21% 0.157 112.4)
XYZxyz(56.1338, 67.9117, 19.1662)
Luminance0.6791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DF57 #5F57DF
analogous
#DFA357 #D7DF57 #93DF57
triadic
#D7DF57 #57D7DF #DF57D7
tetradic
#D7DF57 #57DFA3 #5F57DF #DF5793
square
#D7DF57 #57DFA3 #5F57DF #DF5793
split-complementary
#D7DF57 #5793DF #A357DF
monochromatic
#969E1E #C7D128 #D7DF57 #E3E98A #EFF3BE

Accessibility & contrast

On white

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

On black

14.58
#D7DF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DF57
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DF57#FFFFFF#000000##000000
##D7DF571.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD546
Deuteranopia (green-blind)
#EFD960
Tritanopia (blue-blind)
#E4D2C2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d7df57;
/* rgb */ color: rgb(215, 223, 87);
/* oklch */ color: oklch(87.2% 0.157 112.4);
Tailwind
colors: {
  custom: {
    50: '#e6e88c',
    500: '#d7df57',
    950: '#000000',
  },
}
SCSS
$custom: #d7df57;
$custom-light: #e6e88c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7df57",
  "rgb": {
    "r": 215,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 63.529,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87209,
    "c": 0.15734,
    "h": 112.4
  },
  "luminance": 0.67911
}

Semantic roles & 50–950 ramp

primary
#D7DF57
secondary
#3F39A1
accent
#16D021
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7DF57

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

Preview Lab → · Contrast checker → · Palette generator →

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