#DEF05F#DEF05F

#DEF05F is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 91.5% C 0.168 H 115.8°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#DEF05F
RGBrgb(222, 240, 95)
HSLhsl(67, 83%, 66%)
HSVhsv(67, 60%, 94%)
CMYKcmyk(7.5%, 0%, 60.4%, 5.9%)
CIE-LABlab(91.09, -24.83, 66.09)
CIE-LCHlch(91.09, 70.60, 110.59°)
OKLaboklab(91.46% -0.0732 0.1514)
OKLCHoklch(91.46% 0.168 115.8)
XYZxyz(63.3512, 78.6769, 22.6731)
Luminance0.7868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF05F #715FF0
analogous
#F0B95F #DEF05F #95F05F
triadic
#DEF05F #5FDEF0 #F05FDE
tetradic
#DEF05F #5FF0B9 #715FF0 #F05F95
square
#DEF05F #5FF0B9 #715FF0 #F05F95
split-complementary
#DEF05F #5F95F0 #B95FF0
monochromatic
#ADC212 #D2EB27 #DEF05F #EAF597 #F5FACF

Accessibility & contrast

On white

1.25
#DEF05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.74
#DEF05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF05F
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF05F#FFFFFF#000000##000000
##DEF05F1.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def05f;
/* rgb */ color: rgb(222, 240, 95);
/* oklch */ color: oklch(91.5% 0.168 115.8);
Tailwind
colors: {
  custom: {
    50: '#ebf492',
    500: '#def05f',
    950: '#000000',
  },
}
SCSS
$custom: #def05f;
$custom-light: #ebf492;
$custom-dark: #000000;
JSON
{
  "hex": "#def05f",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 95
  },
  "hsl": {
    "h": 67.448,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.91461,
    "c": 0.16815,
    "h": 115.8
  },
  "luminance": 0.78676
}

Semantic roles & 50–950 ramp

primary
#DEF05F
secondary
#4533C0
accent
#06DF21
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF05F

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

Preview Lab → · Contrast checker → · Palette generator →

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