#DEF374#DEF374

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

Color values

HEX#DEF374
RGBrgb(222, 243, 116)
HSLhsl(70, 84%, 70%)
HSVhsv(70, 52%, 95%)
CMYKcmyk(8.6%, 0%, 52.3%, 4.7%)
CIE-LABlab(92.08, -24.62, 58.13)
CIE-LCHlch(92.08, 63.13, 112.96°)
OKLaboklab(92.32% -0.0706 0.1367)
OKLCHoklch(92.32% 0.154 117.3)
XYZxyz(65.3281, 80.8923, 28.6919)
Luminance0.8089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF374 #8974F3
analogous
#F3C874 #DEF374 #9FF374
triadic
#DEF374 #74DEF3 #F374DE
tetradic
#DEF374 #74F3C8 #8974F3 #F3749F
square
#DEF374 #74F3C8 #8974F3 #F3749F
split-complementary
#DEF374 #749FF3 #C874F3
monochromatic
#B9DA13 #D1EE3C #DEF374 #EBF8AC #F8FDE3

Accessibility & contrast

On white

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

On black

17.18
#DEF374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF374
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF374#FFFFFF#000000##000000
##DEF3741.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE868
Deuteranopia (green-blind)
#FFE97B
Tritanopia (blue-blind)
#E9E7D7
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def374;
/* rgb */ color: rgb(222, 243, 116);
/* oklch */ color: oklch(92.3% 0.154 117.3);
Tailwind
colors: {
  custom: {
    50: '#eaf79f',
    500: '#def374',
    950: '#000000',
  },
}
SCSS
$custom: #def374;
$custom-light: #eaf79f;
$custom-dark: #000000;
JSON
{
  "hex": "#def374",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 116
  },
  "hsl": {
    "h": 69.921,
    "s": 84.106,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92322,
    "c": 0.15381,
    "h": 117.3
  },
  "luminance": 0.80892
}

Semantic roles & 50–950 ramp

primary
#DEF374
secondary
#563ECD
accent
#05E129
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF374

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

Preview Lab → · Contrast checker → · Palette generator →

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