#DEF461#DEF461

#DEF461 is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 92.3% C 0.171 H 117.1°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#DEF461
RGBrgb(222, 244, 97)
HSLhsl(69, 87%, 67%)
HSVhsv(69, 60%, 96%)
CMYKcmyk(9%, 0%, 60.2%, 4.3%)
CIE-LABlab(92.17, -26.58, 66.45)
CIE-LCHlch(92.17, 71.56, 111.80°)
OKLaboklab(92.34% -0.0779 0.1524)
OKLCHoklch(92.34% 0.171 117.1)
XYZxyz(64.6338, 81.0947, 23.5549)
Luminance0.8109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF461 #7761F4
analogous
#F4C161 #DEF461 #94F461
triadic
#DEF461 #61DEF4 #F461DE
tetradic
#DEF461 #61F4C1 #7761F4 #F46194
square
#DEF461 #61F4C1 #7761F4 #F46194
split-complementary
#DEF461 #6194F4 #C161F4
monochromatic
#B0CC0E #D2F028 #DEF461 #EAF89A #F6FCD3

Accessibility & contrast

On white

1.22
#DEF461 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#DEF461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF461
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF461#FFFFFF#000000##000000
##DEF4611.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE850
Deuteranopia (green-blind)
#FFE96B
Tritanopia (blue-blind)
#EAE7D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def461;
/* rgb */ color: rgb(222, 244, 97);
/* oklch */ color: oklch(92.3% 0.171 117.1);
Tailwind
colors: {
  custom: {
    50: '#ebf794',
    500: '#def461',
    950: '#000000',
  },
}
SCSS
$custom: #def461;
$custom-light: #ebf794;
$custom-dark: #000000;
JSON
{
  "hex": "#def461",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 97
  },
  "hsl": {
    "h": 68.98,
    "s": 86.982,
    "l": 66.863
  },
  "oklch": {
    "l": 0.92337,
    "c": 0.17115,
    "h": 117.1
  },
  "luminance": 0.81094
}

Semantic roles & 50–950 ramp

primary
#DEF461
secondary
#4731C8
accent
#02E424
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF461

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

Preview Lab → · Contrast checker → · Palette generator →

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