#DEF261#DEF261

#DEF261 is a very light, vivid yellow. Relative luminance 0.799; OKLCH L 91.9% C 0.169 H 116.5°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#DEF261
RGBrgb(222, 242, 97)
HSLhsl(68, 85%, 66%)
HSVhsv(68, 60%, 95%)
CMYKcmyk(8.3%, 0%, 59.9%, 5.1%)
CIE-LABlab(91.64, -25.64, 65.86)
CIE-LCHlch(91.64, 70.68, 111.27°)
OKLaboklab(91.91% -0.0752 0.1512)
OKLCHoklch(91.91% 0.169 116.5)
XYZxyz(64.0353, 79.8977, 23.3554)
Luminance0.7990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF261 #7561F2
analogous
#F2BE61 #DEF261 #96F261
triadic
#DEF261 #61DEF2 #F261DE
tetradic
#DEF261 #61F2BE #7561F2 #F26196
square
#DEF261 #61F2BE #7561F2 #F26196
split-complementary
#DEF261 #6196F2 #BE61F2
monochromatic
#AFC810 #D2ED28 #DEF261 #EAF79A #F6FBD2

Accessibility & contrast

On white

1.24
#DEF261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.98
#DEF261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF261
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF261#FFFFFF#000000##000000
##DEF2611.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE650
Deuteranopia (green-blind)
#FFE86A
Tritanopia (blue-blind)
#EBE5D3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def261;
/* rgb */ color: rgb(222, 242, 97);
/* oklch */ color: oklch(91.9% 0.169 116.5);
Tailwind
colors: {
  custom: {
    50: '#ebf693',
    500: '#def261',
    950: '#000000',
  },
}
SCSS
$custom: #def261;
$custom-light: #ebf693;
$custom-dark: #000000;
JSON
{
  "hex": "#def261",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 97
  },
  "hsl": {
    "h": 68.276,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91908,
    "c": 0.16886,
    "h": 116.5
  },
  "luminance": 0.79897
}

Semantic roles & 50–950 ramp

primary
#DEF261
secondary
#4632C5
accent
#04E123
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF261

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

Preview Lab → · Contrast checker → · Palette generator →

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