#DEF05D#DEF05D

#DEF05D is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 91.4% C 0.170 H 115.8°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#DEF05D
RGBrgb(222, 240, 93)
HSLhsl(67, 83%, 65%)
HSVhsv(67, 61%, 94%)
CMYKcmyk(7.5%, 0%, 61.2%, 5.9%)
CIE-LABlab(91.07, -24.96, 66.89)
CIE-LCHlch(91.07, 71.40, 110.46°)
OKLaboklab(91.44% -0.0737 0.1528)
OKLCHoklch(91.44% 0.17 115.8)
XYZxyz(63.2614, 78.6410, 22.2005)
Luminance0.7864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF05D #6F5DF0
analogous
#F0B85D #DEF05D #94F05D
triadic
#DEF05D #5DDEF0 #F05DDE
tetradic
#DEF05D #5DF0B8 #6F5DF0 #F05D94
square
#DEF05D #5DF0B8 #6F5DF0 #F05D94
split-complementary
#DEF05D #5D94F0 #B85DF0
monochromatic
#ABC112 #D3EB25 #DEF05D #E9F595 #F5FACD

Accessibility & contrast

On white

1.26
#DEF05D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#DEF05D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF05D
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF05D#FFFFFF#000000##000000
##DEF05D1.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE44B
Deuteranopia (green-blind)
#FEE767
Tritanopia (blue-blind)
#EBE3D1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #def05d;
/* rgb */ color: rgb(222, 240, 93);
/* oklch */ color: oklch(91.4% 0.170 115.8);
Tailwind
colors: {
  custom: {
    50: '#ebf491',
    500: '#def05d',
    950: '#000000',
  },
}
SCSS
$custom: #def05d;
$custom-light: #ebf491;
$custom-dark: #000000;
JSON
{
  "hex": "#def05d",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 93
  },
  "hsl": {
    "h": 67.347,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.91443,
    "c": 0.1697,
    "h": 115.8
  },
  "luminance": 0.7864
}

Semantic roles & 50–950 ramp

primary
#DEF05D
secondary
#4432BF
accent
#06DF21
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF05D

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

Preview Lab → · Contrast checker → · Palette generator →

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