#DEF373#DEF373

#DEF373 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.3% C 0.155 H 117.3°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#DEF373
RGBrgb(222, 243, 115)
HSLhsl(70, 84%, 70%)
HSVhsv(70, 53%, 95%)
CMYKcmyk(8.6%, 0%, 52.7%, 4.7%)
CIE-LABlab(92.07, -24.71, 58.57)
CIE-LCHlch(92.07, 63.57, 112.87°)
OKLaboklab(92.31% -0.0709 0.1375)
OKLCHoklch(92.31% 0.155 117.3)
XYZxyz(65.2702, 80.8692, 28.3872)
Luminance0.8087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF373 #8873F3
analogous
#F3C873 #DEF373 #9EF373
triadic
#DEF373 #73DEF3 #F373DE
tetradic
#DEF373 #73F3C8 #8873F3 #F3739E
square
#DEF373 #73F3C8 #8873F3 #F3739E
split-complementary
#DEF373 #739EF3 #C873F3
monochromatic
#B8D913 #D1EE3B #DEF373 #EBF8AB #F8FDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF373#FFFFFF#000000##000000
##DEF3731.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)
#FFE867
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#E9E7D6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def373;
/* rgb */ color: rgb(222, 243, 115);
/* oklch */ color: oklch(92.3% 0.155 117.3);
Tailwind
colors: {
  custom: {
    50: '#eaf79f',
    500: '#def373',
    950: '#000000',
  },
}
SCSS
$custom: #def373;
$custom-light: #eaf79f;
$custom-dark: #000000;
JSON
{
  "hex": "#def373",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 115
  },
  "hsl": {
    "h": 69.844,
    "s": 84.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.9231,
    "c": 0.15473,
    "h": 117.3
  },
  "luminance": 0.80869
}

Semantic roles & 50–950 ramp

primary
#DEF373
secondary
#553DCD
accent
#05E129
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF373

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

Preview Lab → · Contrast checker → · Palette generator →

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