#D7F051#D7F051

#D7F051 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 90.8% C 0.181 H 117.8°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#D7F051
RGBrgb(215, 240, 81)
HSLhsl(69, 84%, 63%)
HSVhsv(69, 66%, 94%)
CMYKcmyk(10.4%, 0%, 66.3%, 5.9%)
CIE-LABlab(90.49, -28.49, 70.83)
CIE-LCHlch(90.49, 76.34, 111.91°)
OKLaboklab(90.82% -0.0843 0.1596)
OKLCHoklch(90.82% 0.181 117.8)
XYZxyz(60.6709, 77.3619, 19.5192)
Luminance0.7736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F051 #6A51F0
analogous
#F0B951 #D7F051 #87F051
triadic
#D7F051 #51D7F0 #F051D7
tetradic
#D7F051 #51F0B9 #6A51F0 #F05187
square
#D7F051 #51F0B9 #6A51F0 #F05187
split-complementary
#D7F051 #5187F0 #B951F0
monochromatic
#9DB710 #CAEB19 #D7F051 #E4F589 #F1FAC2

Accessibility & contrast

On white

1.27
#D7F051 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#D7F051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F051
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F051#FFFFFF#000000##000000
##D7F0511.001.2716.4716.47
#FFFFFF1.271.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE33A
Deuteranopia (green-blind)
#FDE55D
Tritanopia (blue-blind)
#E3E3D0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d7f051;
/* rgb */ color: rgb(215, 240, 81);
/* oklch */ color: oklch(90.8% 0.181 117.8);
Tailwind
colors: {
  custom: {
    50: '#e7f48a',
    500: '#d7f051',
    950: '#000000',
  },
}
SCSS
$custom: #d7f051;
$custom-light: #e7f48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f051",
  "rgb": {
    "r": 215,
    "g": 240,
    "b": 81
  },
  "hsl": {
    "h": 69.434,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.90822,
    "c": 0.18054,
    "h": 117.8
  },
  "luminance": 0.77361
}

Semantic roles & 50–950 ramp

primary
#D7F051
secondary
#442FB6
accent
#05E127
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D7F051

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

Preview Lab → · Contrast checker → · Palette generator →

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