#DEF07C#DEF07C

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

Color values

HEX#DEF07C
RGBrgb(222, 240, 124)
HSLhsl(69, 79%, 71%)
HSVhsv(69, 48%, 94%)
CMYKcmyk(7.5%, 0%, 48.3%, 5.9%)
CIE-LABlab(91.37, -22.47, 53.62)
CIE-LCHlch(91.37, 58.14, 112.74°)
OKLaboklab(91.78% -0.0638 0.1275)
OKLCHoklch(91.78% 0.143 116.6)
XYZxyz(64.9232, 79.3057, 30.9522)
Luminance0.7931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF07C #8E7CF0
analogous
#F0C87C #DEF07C #A4F07C
triadic
#DEF07C #7CDEF0 #F07CDE
tetradic
#DEF07C #7CF0C8 #8E7CF0 #F07CA4
square
#DEF07C #7CF0C8 #8E7CF0 #F07CA4
split-complementary
#DEF07C #7CA4F0 #C87CF0
monochromatic
#BBD919 #D0EA45 #DEF07C #ECF6B3 #F8FCE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF07C#FFFFFF#000000##000000
##DEF07C1.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)
#FEE672
Deuteranopia (green-blind)
#FCE782
Tritanopia (blue-blind)
#E9E5D5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def07c;
/* rgb */ color: rgb(222, 240, 124);
/* oklch */ color: oklch(91.8% 0.143 116.6);
Tailwind
colors: {
  custom: {
    50: '#eaf4a4',
    500: '#def07c',
    950: '#000000',
  },
}
SCSS
$custom: #def07c;
$custom-light: #eaf4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#def07c",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 124
  },
  "hsl": {
    "h": 69.31,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91781,
    "c": 0.14256,
    "h": 116.6
  },
  "luminance": 0.79305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEF07C

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

Preview Lab → · Contrast checker → · Palette generator →

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