#DEF07D#DEF07D

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

Color values

HEX#DEF07D
RGBrgb(222, 240, 125)
HSLhsl(69, 79%, 72%)
HSVhsv(69, 48%, 94%)
CMYKcmyk(7.5%, 0%, 47.9%, 5.9%)
CIE-LABlab(91.38, -22.38, 53.17)
CIE-LCHlch(91.38, 57.68, 112.82°)
OKLaboklab(91.79% -0.0634 0.1266)
OKLCHoklch(91.79% 0.142 116.6)
XYZxyz(64.9867, 79.3311, 31.2870)
Luminance0.7933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF07D #8F7DF0
analogous
#F0C97D #DEF07D #A5F07D
triadic
#DEF07D #7DDEF0 #F07DDE
tetradic
#DEF07D #7DF0C9 #8F7DF0 #F07DA5
square
#DEF07D #7DF0C9 #8F7DF0 #F07DA5
split-complementary
#DEF07D #7DA5F0 #C97DF0
monochromatic
#BBDA19 #D0EA46 #DEF07D #ECF6B4 #F8FCE4

Accessibility & contrast

On white

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

On black

16.87
#DEF07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF07D
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF07D#FFFFFF#000000##000000
##DEF07D1.001.2516.8716.87
#FFFFFF1.251.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def07d;
/* rgb */ color: rgb(222, 240, 125);
/* oklch */ color: oklch(91.8% 0.142 116.6);
Tailwind
colors: {
  custom: {
    50: '#eaf4a5',
    500: '#def07d',
    950: '#000000',
  },
}
SCSS
$custom: #def07d;
$custom-light: #eaf4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#def07d",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 125
  },
  "hsl": {
    "h": 69.391,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91794,
    "c": 0.14158,
    "h": 116.6
  },
  "luminance": 0.7933
}

Semantic roles & 50–950 ramp

primary
#DEF07D
secondary
#5B47CA
accent
#0ADC2B
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF07D

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

Preview Lab → · Contrast checker → · Palette generator →

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