#DEF68C#DEF68C

#DEF68C is a very light, vivid yellow-green. Relative luminance 0.833; OKLCH L 93.3% C 0.134 H 119.5°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#DEF68C
RGBrgb(222, 246, 140)
HSLhsl(74, 85%, 76%)
HSVhsv(74, 43%, 96%)
CMYKcmyk(9.8%, 0%, 43.1%, 3.5%)
CIE-LABlab(93.16, -23.74, 48.24)
CIE-LCHlch(93.16, 53.77, 116.20°)
OKLaboklab(93.28% -0.0661 0.1166)
OKLCHoklch(93.28% 0.134 119.5)
XYZxyz(67.8139, 83.3348, 37.3186)
Luminance0.8334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF68C #A48CF6
analogous
#F6D98C #DEF68C #A9F68C
triadic
#DEF68C #8CDEF6 #F68CDE
tetradic
#DEF68C #8CF6D9 #A48CF6 #F68CA9
square
#DEF68C #8CF6D9 #A48CF6 #F68CA9
split-complementary
#DEF68C #8CA9F6 #D98CF6
monochromatic
#BDED1A #CEF253 #DEF68C #EEFAC5 #F7FDE3

Accessibility & contrast

On white

1.19
#DEF68C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.67
#DEF68C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF68C
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF68C#FFFFFF#000000##000000
##DEF68C1.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB83
Deuteranopia (green-blind)
#FFEC91
Tritanopia (blue-blind)
#E7ECDD
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def68c;
/* rgb */ color: rgb(222, 246, 140);
/* oklch */ color: oklch(93.3% 0.134 119.5);
Tailwind
colors: {
  custom: {
    50: '#eaf9af',
    500: '#def68c',
    950: '#000000',
  },
}
SCSS
$custom: #def68c;
$custom-light: #eaf9af;
$custom-dark: #000000;
JSON
{
  "hex": "#def68c",
  "rgb": {
    "r": 222,
    "g": 246,
    "b": 140
  },
  "hsl": {
    "h": 73.585,
    "s": 85.484,
    "l": 75.686
  },
  "oklch": {
    "l": 0.93275,
    "c": 0.13405,
    "h": 119.5
  },
  "luminance": 0.83335
}

Semantic roles & 50–950 ramp

primary
#DEF68C
secondary
#7053D4
accent
#04E236
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #DEF68C

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

Preview Lab → · Contrast checker → · Palette generator →

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