#DEFE2F#DEFE2F

#DEFE2F is a very light, highly saturated yellow. Relative luminance 0.866; OKLCH L 94.2% C 0.211 H 118.8°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#DEFE2F
RGBrgb(222, 254, 47)
HSLhsl(69, 99%, 59%)
HSVhsv(69, 81%, 100%)
CMYKcmyk(12.6%, 0%, 81.5%, 0.4%)
CIE-LABlab(94.58, -33.68, 85.27)
CIE-LCHlch(94.58, 91.68, 111.55°)
OKLaboklab(94.18% -0.1016 0.1846)
OKLCHoklch(94.18% 0.211 118.8)
XYZxyz(66.0807, 86.6190, 15.9267)
Luminance0.8662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFE2F #4F2FFE
analogous
#FEB62F #DEFE2F #77FE2F
triadic
#DEFE2F #2FDEFE #FE2FDE
tetradic
#DEFE2F #2FFEB6 #4F2FFE #FE2F77
square
#DEFE2F #2FFEB6 #4F2FFE #FE2F77
split-complementary
#DEFE2F #2F77FE #B62FFE
monochromatic
#96B201 #CAEF01 #DEFE2F #E8FE6C #F1FFA9

Accessibility & contrast

On white

1.15
#DEFE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.32
#DEFE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFE2F
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFE2F#FFFFFF#000000##000000
##DEFE2F1.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF00
Deuteranopia (green-blind)
#FFF046
Tritanopia (blue-blind)
#ECF0D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #defe2f;
/* rgb */ color: rgb(222, 254, 47);
/* oklch */ color: oklch(94.2% 0.211 118.8);
Tailwind
colors: {
  custom: {
    50: '#edfe7c',
    500: '#defe2f',
    950: '#000000',
  },
}
SCSS
$custom: #defe2f;
$custom-light: #edfe7c;
$custom-dark: #000000;
JSON
{
  "hex": "#defe2f",
  "rgb": {
    "r": 222,
    "g": 254,
    "b": 47
  },
  "hsl": {
    "h": 69.275,
    "s": 99.043,
    "l": 59.02
  },
  "oklch": {
    "l": 0.94178,
    "c": 0.21074,
    "h": 118.8
  },
  "luminance": 0.86618
}

Semantic roles & 50–950 ramp

primary
#DEFE2F
secondary
#3720B1
accent
#29FF4A
background
#FFFFFB
surface
#FEFFF2
border
#D6D7CC
text
#17170B
muted
#85857E

Preview Lab

Preview with #DEFE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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