#DEF74C#DEF74C

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

Color values

HEX#DEF74C
RGBrgb(222, 247, 76)
HSLhsl(69, 91%, 63%)
HSVhsv(69, 69%, 97%)
CMYKcmyk(10.1%, 0%, 69.2%, 3.1%)
CIE-LABlab(92.83, -29.27, 75.16)
CIE-LCHlch(92.83, 80.65, 111.28°)
OKLaboklab(92.81% -0.0873 0.1678)
OKLCHoklch(92.81% 0.189 117.5)
XYZxyz(64.6909, 82.5736, 19.3665)
Luminance0.8257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF74C #654CF7
analogous
#F7BA4C #DEF74C #88F74C
triadic
#DEF74C #4CDEF7 #F74CDE
tetradic
#DEF74C #4CF7BA #654CF7 #F74C88
square
#DEF74C #4CF7BA #654CF7 #F74C88
split-complementary
#DEF74C #4C88F7 #BA4CF7
monochromatic
#A5C009 #D3F411 #DEF74C #E9FA87 #F4FCC1

Accessibility & contrast

On white

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

On black

17.51
#DEF74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF74C
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF74C#FFFFFF#000000##000000
##DEF74C1.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA2F
Deuteranopia (green-blind)
#FFEB5A
Tritanopia (blue-blind)
#EBEAD5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def74c;
/* rgb */ color: rgb(222, 247, 76);
/* oklch */ color: oklch(92.8% 0.189 117.5);
Tailwind
colors: {
  custom: {
    50: '#ecf988',
    500: '#def74c',
    950: '#000000',
  },
}
SCSS
$custom: #def74c;
$custom-light: #ecf988;
$custom-dark: #000000;
JSON
{
  "hex": "#def74c",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 76
  },
  "hsl": {
    "h": 68.772,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.92814,
    "c": 0.18916,
    "h": 117.5
  },
  "luminance": 0.82573
}

Semantic roles & 50–950 ramp

primary
#DEF74C
secondary
#3F2ABE
accent
#00E622
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #DEF74C

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

Preview Lab → · Contrast checker → · Palette generator →

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