#DEF74E#DEF74E

#DEF74E is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 92.8% C 0.188 H 117.5°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#DEF74E
RGBrgb(222, 247, 78)
HSLhsl(69, 91%, 64%)
HSVhsv(69, 68%, 97%)
CMYKcmyk(10.1%, 0%, 68.4%, 3.1%)
CIE-LABlab(92.84, -29.16, 74.46)
CIE-LCHlch(92.84, 79.97, 111.39°)
OKLaboklab(92.83% -0.0869 0.1667)
OKLCHoklch(92.83% 0.188 117.5)
XYZxyz(64.7615, 82.6019, 19.7384)
Luminance0.8260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF74E #674EF7
analogous
#F7BB4E #DEF74E #89F74E
triadic
#DEF74E #4EDEF7 #F74EDE
tetradic
#DEF74E #4EF7BB #674EF7 #F74E89
square
#DEF74E #4EF7BB #674EF7 #F74E89
split-complementary
#DEF74E #4E89F7 #BB4EF7
monochromatic
#A6C209 #D3F413 #DEF74E #E9FA89 #F4FCC3

Accessibility & contrast

On white

1.20
#DEF74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.52
#DEF74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF74E
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF74E#FFFFFF#000000##000000
##DEF74E1.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA33
Deuteranopia (green-blind)
#FFEB5B
Tritanopia (blue-blind)
#EBEAD6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def74e;
/* rgb */ color: rgb(222, 247, 78);
/* oklch */ color: oklch(92.8% 0.188 117.5);
Tailwind
colors: {
  custom: {
    50: '#ecf989',
    500: '#def74e',
    950: '#000000',
  },
}
SCSS
$custom: #def74e;
$custom-light: #ecf989;
$custom-dark: #000000;
JSON
{
  "hex": "#def74e",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 78
  },
  "hsl": {
    "h": 68.876,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.92828,
    "c": 0.18793,
    "h": 117.5
  },
  "luminance": 0.82601
}

Semantic roles & 50–950 ramp

primary
#DEF74E
secondary
#402ABF
accent
#00E622
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #DEF74E

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

Preview Lab → · Contrast checker → · Palette generator →

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