#DEFA74#DEFA74

#DEFA74 is a very light, vivid yellow-green. Relative luminance 0.852; OKLCH L 93.8% C 0.162 H 119.5°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#DEFA74
RGBrgb(222, 250, 116)
HSLhsl(73, 93%, 72%)
HSVhsv(73, 54%, 98%)
CMYKcmyk(11.2%, 0%, 53.6%, 2%)
CIE-LABlab(93.95, -27.92, 60.30)
CIE-LCHlch(93.95, 66.45, 114.85°)
OKLaboklab(93.82% -0.0799 0.1414)
OKLCHoklch(93.82% 0.162 119.5)
XYZxyz(67.4629, 85.1621, 29.4035)
Luminance0.8516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFA74 #9074FA
analogous
#FAD374 #DEFA74 #9BFA74
triadic
#DEFA74 #74DEFA #FA74DE
tetradic
#DEFA74 #74FAD3 #9074FA #FA749B
square
#DEFA74 #74FAD3 #9074FA #FA749B
split-complementary
#DEFA74 #749BFA #D374FA
monochromatic
#BCEB08 #D0F839 #DEFA74 #ECFCAF #F8FEE1

Accessibility & contrast

On white

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

On black

18.03
#DEFA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFA74
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFA74#FFFFFF#000000##000000
##DEFA741.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #defa74;
/* rgb */ color: rgb(222, 250, 116);
/* oklch */ color: oklch(93.8% 0.162 119.5);
Tailwind
colors: {
  custom: {
    50: '#ebfca0',
    500: '#defa74',
    950: '#000000',
  },
}
SCSS
$custom: #defa74;
$custom-light: #ebfca0;
$custom-dark: #000000;
JSON
{
  "hex": "#defa74",
  "rgb": {
    "r": 222,
    "g": 250,
    "b": 116
  },
  "hsl": {
    "h": 72.537,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.93821,
    "c": 0.16236,
    "h": 119.5
  },
  "luminance": 0.85162
}

Semantic roles & 50–950 ramp

primary
#DEFA74
secondary
#5C3CD6
accent
#00E630
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEFA74

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

Preview Lab → · Contrast checker → · Palette generator →

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