#DEF75D#DEF75D

#DEF75D is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 92.9% C 0.178 H 117.8°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#DEF75D
RGBrgb(222, 247, 93)
HSLhsl(70, 91%, 67%)
HSVhsv(70, 62%, 97%)
CMYKcmyk(10.1%, 0%, 62.3%, 3.1%)
CIE-LABlab(92.95, -28.26, 68.90)
CIE-LCHlch(92.95, 74.47, 112.30°)
OKLaboklab(92.95% -0.083 0.1571)
OKLCHoklch(92.95% 0.178 117.8)
XYZxyz(65.3620, 82.8420, 22.9006)
Luminance0.8284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF75D #765DF7
analogous
#F7C35D #DEF75D #91F75D
triadic
#DEF75D #5DDEF7 #F75DDE
tetradic
#DEF75D #5DF7C3 #765DF7 #F75D91
square
#DEF75D #5DF7C3 #765DF7 #F75D91
split-complementary
#DEF75D #5D91F7 #C35DF7
monochromatic
#AFCF0A #D2F423 #DEF75D #EAFA97 #F6FDD2

Accessibility & contrast

On white

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

On black

17.57
#DEF75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF75D
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF75D#FFFFFF#000000##000000
##DEF75D1.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA4A
Deuteranopia (green-blind)
#FFEC68
Tritanopia (blue-blind)
#EAEAD7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def75d;
/* rgb */ color: rgb(222, 247, 93);
/* oklch */ color: oklch(92.9% 0.178 117.8);
Tailwind
colors: {
  custom: {
    50: '#ebf991',
    500: '#def75d',
    950: '#000000',
  },
}
SCSS
$custom: #def75d;
$custom-light: #ebf991;
$custom-dark: #000000;
JSON
{
  "hex": "#def75d",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 93
  },
  "hsl": {
    "h": 69.74,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.92946,
    "c": 0.17764,
    "h": 117.8
  },
  "luminance": 0.82841
}

Semantic roles & 50–950 ramp

primary
#DEF75D
secondary
#472DCB
accent
#00E625
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF75D

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

Preview Lab → · Contrast checker → · Palette generator →

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