#DEF06F#DEF06F

#DEF06F is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 91.6% C 0.155 H 116.2°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#DEF06F
RGBrgb(222, 240, 111)
HSLhsl(68, 81%, 69%)
HSVhsv(68, 54%, 94%)
CMYKcmyk(7.5%, 0%, 53.8%, 5.9%)
CIE-LABlab(91.23, -23.62, 59.38)
CIE-LCHlch(91.23, 63.91, 111.69°)
OKLaboklab(91.63% -0.0682 0.1389)
OKLCHoklch(91.63% 0.155 116.2)
XYZxyz(64.1546, 78.9982, 26.9044)
Luminance0.7900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF06F #816FF0
analogous
#F0C26F #DEF06F #9EF06F
triadic
#DEF06F #6FDEF0 #F06FDE
tetradic
#DEF06F #6FF0C2 #816FF0 #F06F9E
square
#DEF06F #6FF0C2 #816FF0 #F06F9E
split-complementary
#DEF06F #6F9EF0 #C26FF0
monochromatic
#B5CF16 #D1EA38 #DEF06F #EBF6A6 #F7FCDE

Accessibility & contrast

On white

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

On black

16.80
#DEF06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF06F
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF06F#FFFFFF#000000##000000
##DEF06F1.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE562
Deuteranopia (green-blind)
#FDE776
Tritanopia (blue-blind)
#EAE4D3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def06f;
/* rgb */ color: rgb(222, 240, 111);
/* oklch */ color: oklch(91.6% 0.155 116.2);
Tailwind
colors: {
  custom: {
    50: '#ebf49c',
    500: '#def06f',
    950: '#000000',
  },
}
SCSS
$custom: #def06f;
$custom-light: #ebf49c;
$custom-dark: #000000;
JSON
{
  "hex": "#def06f",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 111
  },
  "hsl": {
    "h": 68.372,
    "s": 81.132,
    "l": 68.824
  },
  "oklch": {
    "l": 0.91625,
    "c": 0.15473,
    "h": 116.2
  },
  "luminance": 0.78997
}

Semantic roles & 50–950 ramp

primary
#DEF06F
secondary
#4E3AC9
accent
#08DD26
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF06F

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

Preview Lab → · Contrast checker → · Palette generator →

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