#DEF452#DEF452

#DEF452 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.2% C 0.182 H 116.8°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#DEF452
RGBrgb(222, 244, 82)
HSLhsl(68, 88%, 64%)
HSVhsv(68, 66%, 96%)
CMYKcmyk(9%, 0%, 66.4%, 4.3%)
CIE-LABlab(92.06, -27.54, 72.22)
CIE-LCHlch(92.06, 77.29, 110.87°)
OKLaboklab(92.21% -0.082 0.1625)
OKLCHoklch(92.21% 0.182 116.8)
XYZxyz(63.9993, 80.8409, 20.2134)
Luminance0.8084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF452 #6852F4
analogous
#F4B952 #DEF452 #8DF452
triadic
#DEF452 #52DEF4 #F452DE
tetradic
#DEF452 #52F4B9 #6852F4 #F4528D
square
#DEF452 #52F4B9 #6852F4 #F4528D
split-complementary
#DEF452 #528DF4 #B952F4
monochromatic
#A7BF0C #D3F018 #DEF452 #E9F88C #F4FBC5

Accessibility & contrast

On white

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

On black

17.17
#DEF452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF452
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF452#FFFFFF#000000##000000
##DEF4521.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE83A
Deuteranopia (green-blind)
#FFE95E
Tritanopia (blue-blind)
#EBE7D3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def452;
/* rgb */ color: rgb(222, 244, 82);
/* oklch */ color: oklch(92.2% 0.182 116.8);
Tailwind
colors: {
  custom: {
    50: '#ecf78b',
    500: '#def452',
    950: '#000000',
  },
}
SCSS
$custom: #def452;
$custom-light: #ecf78b;
$custom-dark: #000000;
JSON
{
  "hex": "#def452",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 82
  },
  "hsl": {
    "h": 68.148,
    "s": 88.043,
    "l": 63.922
  },
  "oklch": {
    "l": 0.9221,
    "c": 0.18203,
    "h": 116.8
  },
  "luminance": 0.8084
}

Semantic roles & 50–950 ramp

primary
#DEF452
secondary
#412DBD
accent
#01E520
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF452

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

Preview Lab → · Contrast checker → · Palette generator →

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