#D7E261#D7E261

#D7E261 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 87.9% C 0.153 H 113.6°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#D7E261
RGBrgb(215, 226, 97)
HSLhsl(65, 69%, 63%)
HSVhsv(65, 57%, 89%)
CMYKcmyk(4.9%, 0%, 57.1%, 11.4%)
CIE-LABlab(86.85, -20.74, 60.44)
CIE-LCHlch(86.85, 63.90, 108.94°)
OKLaboklab(87.95% -0.0611 0.1398)
OKLCHoklch(87.95% 0.153 113.6)
XYZxyz(57.3796, 69.7039, 21.7385)
Luminance0.6970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E261 #6C61E2
analogous
#E2AC61 #D7E261 #96E261
triadic
#D7E261 #61D7E2 #E261D7
tetradic
#D7E261 #61E2AC #6C61E2 #E26196
square
#D7E261 #61E2AC #6C61E2 #E26196
split-complementary
#D7E261 #6196E2 #AC61E2
monochromatic
#9EA91F #CAD92D #D7E261 #E4EB95 #F1F5C8

Accessibility & contrast

On white

1.41
#D7E261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#D7E261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E261
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E261#FFFFFF#000000##000000
##D7E2611.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D853
Deuteranopia (green-blind)
#F1DB69
Tritanopia (blue-blind)
#E4D6C6
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d7e261;
/* rgb */ color: rgb(215, 226, 97);
/* oklch */ color: oklch(87.9% 0.153 113.6);
Tailwind
colors: {
  custom: {
    50: '#e6eb92',
    500: '#d7e261',
    950: '#000000',
  },
}
SCSS
$custom: #d7e261;
$custom-light: #e6eb92;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e261",
  "rgb": {
    "r": 215,
    "g": 226,
    "b": 97
  },
  "hsl": {
    "h": 65.116,
    "s": 68.984,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87948,
    "c": 0.15252,
    "h": 113.6
  },
  "luminance": 0.69703
}

Semantic roles & 50–950 ramp

primary
#D7E261
secondary
#453CAB
accent
#15D125
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D7E261

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

Preview Lab → · Contrast checker → · Palette generator →

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