#DEF75B#DEF75B

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

Color values

HEX#DEF75B
RGBrgb(222, 247, 91)
HSLhsl(70, 91%, 66%)
HSVhsv(70, 63%, 97%)
CMYKcmyk(10.1%, 0%, 63.2%, 3.1%)
CIE-LABlab(92.93, -28.39, 69.67)
CIE-LCHlch(92.93, 75.24, 112.17°)
OKLaboklab(92.93% -0.0835 0.1585)
OKLCHoklch(92.93% 0.179 117.8)
XYZxyz(65.2745, 82.8071, 22.4402)
Luminance0.8281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF75B #745BF7
analogous
#F7C25B #DEF75B #90F75B
triadic
#DEF75B #5BDEF7 #F75BDE
tetradic
#DEF75B #5BF7C2 #745BF7 #F75B90
square
#DEF75B #5BF7C2 #745BF7 #F75B90
split-complementary
#DEF75B #5B90F7 #C25BF7
monochromatic
#AECE0A #D2F421 #DEF75B #EAFA95 #F5FDD0

Accessibility & contrast

On white

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

On black

17.56
#DEF75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF75B
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF75B#FFFFFF#000000##000000
##DEF75B1.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA47
Deuteranopia (green-blind)
#FFEC66
Tritanopia (blue-blind)
#EBEAD7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def75b;
/* rgb */ color: rgb(222, 247, 91);
/* oklch */ color: oklch(92.9% 0.179 117.8);
Tailwind
colors: {
  custom: {
    50: '#ebf990',
    500: '#def75b',
    950: '#000000',
  },
}
SCSS
$custom: #def75b;
$custom-light: #ebf990;
$custom-dark: #000000;
JSON
{
  "hex": "#def75b",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 91
  },
  "hsl": {
    "h": 69.615,
    "s": 90.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.92929,
    "c": 0.17911,
    "h": 117.8
  },
  "luminance": 0.82806
}

Semantic roles & 50–950 ramp

primary
#DEF75B
secondary
#462DC9
accent
#00E625
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF75B

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

Preview Lab → · Contrast checker → · Palette generator →

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