#DEF670#DEF670

#DEF670 is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.9% C 0.161 H 118.1°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#DEF670
RGBrgb(222, 246, 112)
HSLhsl(71, 88%, 70%)
HSVhsv(71, 54%, 96%)
CMYKcmyk(9.8%, 0%, 54.5%, 3.5%)
CIE-LABlab(92.84, -26.38, 60.79)
CIE-LCHlch(92.84, 66.27, 113.46°)
OKLaboklab(92.92% -0.0759 0.142)
OKLCHoklch(92.92% 0.161 118.1)
XYZxyz(66.0055, 82.6115, 27.7945)
Luminance0.8261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF670 #8870F6
analogous
#F6CB70 #DEF670 #9BF670
triadic
#DEF670 #70DEF6 #F670DE
tetradic
#DEF670 #70F6CB #8870F6 #F6709B
square
#DEF670 #70F6CB #8870F6 #F6709B
split-complementary
#DEF670 #709BF6 #CB70F6
monochromatic
#B8DE0E #D1F236 #DEF670 #EBFAAA #F8FDE2

Accessibility & contrast

On white

1.20
#DEF670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.52
#DEF670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF670
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF670#FFFFFF#000000##000000
##DEF6701.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA62
Deuteranopia (green-blind)
#FFEB78
Tritanopia (blue-blind)
#E9EAD8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def670;
/* rgb */ color: rgb(222, 246, 112);
/* oklch */ color: oklch(92.9% 0.161 118.1);
Tailwind
colors: {
  custom: {
    50: '#ebf99d',
    500: '#def670',
    950: '#000000',
  },
}
SCSS
$custom: #def670;
$custom-light: #ebf99d;
$custom-dark: #000000;
JSON
{
  "hex": "#def670",
  "rgb": {
    "r": 222,
    "g": 246,
    "b": 112
  },
  "hsl": {
    "h": 70.746,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92919,
    "c": 0.16102,
    "h": 118.1
  },
  "luminance": 0.82611
}

Semantic roles & 50–950 ramp

primary
#DEF670
secondary
#553AD0
accent
#01E52A
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF670

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

Preview Lab → · Contrast checker → · Palette generator →

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