#DEFA7C#DEFA7C

#DEFA7C is a very light, vivid yellow-green. Relative luminance 0.854; OKLCH L 93.9% C 0.155 H 119.8°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#DEFA7C
RGBrgb(222, 250, 124)
HSLhsl(73, 93%, 73%)
HSVhsv(73, 50%, 98%)
CMYKcmyk(11.2%, 0%, 50.4%, 2%)
CIE-LABlab(94.04, -27.22, 56.80)
CIE-LCHlch(94.04, 62.98, 115.60°)
OKLaboklab(93.92% -0.0772 0.1345)
OKLCHoklch(93.92% 0.155 119.8)
XYZxyz(67.9485, 85.3563, 31.9607)
Luminance0.8536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFA7C #987CFA
analogous
#FAD77C #DEFA7C #9FFA7C
triadic
#DEFA7C #7CDEFA #FA7CDE
tetradic
#DEFA7C #7CFAD7 #987CFA #FA7C9F
square
#DEFA7C #7CFAD7 #987CFA #FA7C9F
split-complementary
#DEFA7C #7C9FFA #D77CFA
monochromatic
#BFF209 #CFF841 #DEFA7C #EDFCB7 #F8FEE2

Accessibility & contrast

On white

1.16
#DEFA7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.07
#DEFA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFA7C
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFA7C#FFFFFF#000000##000000
##DEFA7C1.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE70
Deuteranopia (green-blind)
#FFEE83
Tritanopia (blue-blind)
#E8EFDD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #defa7c;
/* rgb */ color: rgb(222, 250, 124);
/* oklch */ color: oklch(93.9% 0.155 119.8);
Tailwind
colors: {
  custom: {
    50: '#eafca5',
    500: '#defa7c',
    950: '#000000',
  },
}
SCSS
$custom: #defa7c;
$custom-light: #eafca5;
$custom-dark: #000000;
JSON
{
  "hex": "#defa7c",
  "rgb": {
    "r": 222,
    "g": 250,
    "b": 124
  },
  "hsl": {
    "h": 73.333,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.93915,
    "c": 0.15503,
    "h": 119.8
  },
  "luminance": 0.85356
}

Semantic roles & 50–950 ramp

primary
#DEFA7C
secondary
#6443D7
accent
#00E633
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEFA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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