#DEF07B#DEF07B

#DEF07B is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 91.8% C 0.144 H 116.5°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#DEF07B
RGBrgb(222, 240, 123)
HSLhsl(69, 80%, 71%)
HSVhsv(69, 49%, 94%)
CMYKcmyk(7.5%, 0%, 48.7%, 5.9%)
CIE-LABlab(91.36, -22.56, 54.07)
CIE-LCHlch(91.36, 58.59, 112.65°)
OKLaboklab(91.77% -0.0641 0.1284)
OKLCHoklch(91.77% 0.144 116.5)
XYZxyz(64.8602, 79.2805, 30.6209)
Luminance0.7928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF07B #8D7BF0
analogous
#F0C77B #DEF07B #A3F07B
triadic
#DEF07B #7BDEF0 #F07BDE
tetradic
#DEF07B #7BF0C7 #8D7BF0 #F07BA3
square
#DEF07B #7BF0C7 #8D7BF0 #F07BA3
split-complementary
#DEF07B #7BA3F0 #C77BF0
monochromatic
#BBD819 #D0EA44 #DEF07B #ECF6B2 #F8FCE4

Accessibility & contrast

On white

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

On black

16.86
#DEF07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF07B
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF07B#FFFFFF#000000##000000
##DEF07B1.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE671
Deuteranopia (green-blind)
#FCE781
Tritanopia (blue-blind)
#E9E5D5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def07b;
/* rgb */ color: rgb(222, 240, 123);
/* oklch */ color: oklch(91.8% 0.144 116.5);
Tailwind
colors: {
  custom: {
    50: '#eaf4a4',
    500: '#def07b',
    950: '#000000',
  },
}
SCSS
$custom: #def07b;
$custom-light: #eaf4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#def07b",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 123
  },
  "hsl": {
    "h": 69.231,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91768,
    "c": 0.14354,
    "h": 116.5
  },
  "luminance": 0.7928
}

Semantic roles & 50–950 ramp

primary
#DEF07B
secondary
#5A45CA
accent
#0ADC2A
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF07B

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

Preview Lab → · Contrast checker → · Palette generator →

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