#DEFB5C#DEFB5C

#DEFB5C is a very light, vivid yellow-green. Relative luminance 0.853; OKLCH L 93.8% C 0.183 H 118.9°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#DEFB5C
RGBrgb(222, 251, 92)
HSLhsl(71, 95%, 67%)
HSVhsv(71, 63%, 98%)
CMYKcmyk(11.6%, 0%, 63.3%, 1.6%)
CIE-LABlab(94.01, -30.19, 70.42)
CIE-LCHlch(94.01, 76.62, 113.20°)
OKLaboklab(93.8% -0.0884 0.1602)
OKLCHoklch(93.8% 0.183 118.9)
XYZxyz(66.5543, 85.2971, 23.0810)
Luminance0.8530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFB5C #795CFB
analogous
#FBC85C #DEFB5C #8FFB5C
triadic
#DEFB5C #5CDEFB #FB5CDE
tetradic
#DEFB5C #5CFBC8 #795CFB #FB5C8F
square
#DEFB5C #5CFBC8 #795CFB #FB5C8F
split-complementary
#DEFB5C #5C8FFB #C85CFB
monochromatic
#B1D705 #D2FA20 #DEFB5C #EAFC98 #F6FED3

Accessibility & contrast

On white

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

On black

18.06
#DEFB5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFB5C
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFB5C#FFFFFF#000000##000000
##DEFB5C1.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE47
Deuteranopia (green-blind)
#FFEE67
Tritanopia (blue-blind)
#EAEEDA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #defb5c;
/* rgb */ color: rgb(222, 251, 92);
/* oklch */ color: oklch(93.8% 0.183 118.9);
Tailwind
colors: {
  custom: {
    50: '#ebfc91',
    500: '#defb5c',
    950: '#000000',
  },
}
SCSS
$custom: #defb5c;
$custom-light: #ebfc91;
$custom-dark: #000000;
JSON
{
  "hex": "#defb5c",
  "rgb": {
    "r": 222,
    "g": 251,
    "b": 92
  },
  "hsl": {
    "h": 70.943,
    "s": 95.21,
    "l": 67.255
  },
  "oklch": {
    "l": 0.938,
    "c": 0.18295,
    "h": 118.9
  },
  "luminance": 0.85297
}

Semantic roles & 50–950 ramp

primary
#DEFB5C
secondary
#482AD1
accent
#00E62A
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEFB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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