#DEF74D#DEF74D

#DEF74D 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.52:1 contrast (WCAG AA passes).

Color values

HEX#DEF74D
RGBrgb(222, 247, 77)
HSLhsl(69, 91%, 64%)
HSVhsv(69, 69%, 97%)
CMYKcmyk(10.1%, 0%, 68.8%, 3.1%)
CIE-LABlab(92.83, -29.21, 74.81)
CIE-LCHlch(92.83, 80.31, 111.33°)
OKLaboklab(92.82% -0.0871 0.1672)
OKLCHoklch(92.82% 0.189 117.5)
XYZxyz(64.7260, 82.5876, 19.5510)
Luminance0.8259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF74D #664DF7
analogous
#F7BB4D #DEF74D #89F74D
triadic
#DEF74D #4DDEF7 #F74DDE
tetradic
#DEF74D #4DF7BB #664DF7 #F74D89
square
#DEF74D #4DF7BB #664DF7 #F74D89
split-complementary
#DEF74D #4D89F7 #BB4DF7
monochromatic
#A6C109 #D3F412 #DEF74D #E9FA88 #F4FCC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF74D#FFFFFF#000000##000000
##DEF74D1.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)
#FFEA31
Deuteranopia (green-blind)
#FFEB5A
Tritanopia (blue-blind)
#EBEAD6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def74d;
/* rgb */ color: rgb(222, 247, 77);
/* oklch */ color: oklch(92.8% 0.189 117.5);
Tailwind
colors: {
  custom: {
    50: '#ecf989',
    500: '#def74d',
    950: '#000000',
  },
}
SCSS
$custom: #def74d;
$custom-light: #ecf989;
$custom-dark: #000000;
JSON
{
  "hex": "#def74d",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 77
  },
  "hsl": {
    "h": 68.824,
    "s": 91.398,
    "l": 63.529
  },
  "oklch": {
    "l": 0.92821,
    "c": 0.18855,
    "h": 117.5
  },
  "luminance": 0.82587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEF74D

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

Preview Lab → · Contrast checker → · Palette generator →

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