#DEF276#DEF276

#DEF276 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.1% C 0.151 H 117.0°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#DEF276
RGBrgb(222, 242, 118)
HSLhsl(70, 83%, 71%)
HSVhsv(70, 51%, 95%)
CMYKcmyk(8.3%, 0%, 51.2%, 5.1%)
CIE-LABlab(91.84, -23.97, 56.94)
CIE-LCHlch(91.84, 61.78, 112.83°)
OKLaboklab(92.13% -0.0685 0.1343)
OKLCHoklch(92.13% 0.151 117)
XYZxyz(65.1472, 80.3425, 29.2117)
Luminance0.8034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF276 #8A76F2
analogous
#F2C876 #DEF276 #A0F276
triadic
#DEF276 #76DEF2 #F276DE
tetradic
#DEF276 #76F2C8 #8A76F2 #F276A0
square
#DEF276 #76F2C8 #8A76F2 #F276A0
split-complementary
#DEF276 #76A0F2 #C876F2
monochromatic
#B9D915 #D1ED3E #DEF276 #EBF7AE #F8FCE3

Accessibility & contrast

On white

1.23
#DEF276 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.07
#DEF276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF276
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF276#FFFFFF#000000##000000
##DEF2761.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76A
Deuteranopia (green-blind)
#FEE87D
Tritanopia (blue-blind)
#E9E7D6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def276;
/* rgb */ color: rgb(222, 242, 118);
/* oklch */ color: oklch(92.1% 0.151 117.0);
Tailwind
colors: {
  custom: {
    50: '#eaf6a1',
    500: '#def276',
    950: '#000000',
  },
}
SCSS
$custom: #def276;
$custom-light: #eaf6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#def276",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 118
  },
  "hsl": {
    "h": 69.677,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92132,
    "c": 0.15075,
    "h": 117
  },
  "luminance": 0.80342
}

Semantic roles & 50–950 ramp

primary
#DEF276
secondary
#5740CC
accent
#06DF29
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF276

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

Preview Lab → · Contrast checker → · Palette generator →

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