#DEF06B#DEF06B

#DEF06B is a very light, vivid yellow. Relative luminance 0.789; OKLCH L 91.6% C 0.158 H 116.1°. Best body text is #000000 at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#DEF06B
RGBrgb(222, 240, 107)
HSLhsl(68, 82%, 68%)
HSVhsv(68, 55%, 94%)
CMYKcmyk(7.5%, 0%, 55.4%, 5.9%)
CIE-LABlab(91.19, -23.94, 61.10)
CIE-LCHlch(91.19, 65.63, 111.39°)
OKLaboklab(91.58% -0.0695 0.1422)
OKLCHoklch(91.58% 0.158 116.1)
XYZxyz(63.9392, 78.9121, 25.7703)
Luminance0.7891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF06B #7D6BF0
analogous
#F0BF6B #DEF06B #9CF06B
triadic
#DEF06B #6BDEF0 #F06BDE
tetradic
#DEF06B #6BF0BF #7D6BF0 #F06B9C
square
#DEF06B #6BF0BF #7D6BF0 #F06B9C
split-complementary
#DEF06B #6B9CF0 #BF6BF0
monochromatic
#B3CC15 #D2EA33 #DEF06B #EAF6A3 #F7FBDA

Accessibility & contrast

On white

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

On black

16.78
#DEF06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF06B
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF06B#FFFFFF#000000##000000
##DEF06B1.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def06b;
/* rgb */ color: rgb(222, 240, 107);
/* oklch */ color: oklch(91.6% 0.158 116.1);
Tailwind
colors: {
  custom: {
    50: '#ebf499',
    500: '#def06b',
    950: '#000000',
  },
}
SCSS
$custom: #def06b;
$custom-light: #ebf499;
$custom-dark: #000000;
JSON
{
  "hex": "#def06b",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 107
  },
  "hsl": {
    "h": 68.12,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.91581,
    "c": 0.15826,
    "h": 116.1
  },
  "luminance": 0.78911
}

Semantic roles & 50–950 ramp

primary
#DEF06B
secondary
#4B37C8
accent
#08DE25
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF06B

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

Preview Lab → · Contrast checker → · Palette generator →

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