#DEF174#DEF174

#DEF174 is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 91.9% C 0.151 H 116.6°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#DEF174
RGBrgb(222, 241, 116)
HSLhsl(69, 82%, 70%)
HSVhsv(69, 52%, 95%)
CMYKcmyk(7.9%, 0%, 51.9%, 5.5%)
CIE-LABlab(91.55, -23.67, 57.51)
CIE-LCHlch(91.55, 62.19, 112.37°)
OKLaboklab(91.9% -0.0679 0.1353)
OKLCHoklch(91.9% 0.151 116.6)
XYZxyz(64.7328, 79.7018, 28.4935)
Luminance0.7970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF174 #8774F1
analogous
#F1C574 #DEF174 #A0F174
triadic
#DEF174 #74DEF1 #F174DE
tetradic
#DEF174 #74F1C5 #8774F1 #F174A0
square
#DEF174 #74F1C5 #8774F1 #F174A0
split-complementary
#DEF174 #74A0F1 #C574F1
monochromatic
#B8D515 #D1EB3C #DEF174 #EBF7AC #F8FCE3

Accessibility & contrast

On white

1.24
#DEF174 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.94
#DEF174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF174
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF174#FFFFFF#000000##000000
##DEF1741.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE668
Deuteranopia (green-blind)
#FDE87B
Tritanopia (blue-blind)
#E9E5D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def174;
/* rgb */ color: rgb(222, 241, 116);
/* oklch */ color: oklch(91.9% 0.151 116.6);
Tailwind
colors: {
  custom: {
    50: '#eaf59f',
    500: '#def174',
    950: '#000000',
  },
}
SCSS
$custom: #def174;
$custom-light: #eaf59f;
$custom-dark: #000000;
JSON
{
  "hex": "#def174",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 116
  },
  "hsl": {
    "h": 69.12,
    "s": 81.699,
    "l": 70
  },
  "oklch": {
    "l": 0.91895,
    "c": 0.15138,
    "h": 116.6
  },
  "luminance": 0.79701
}

Semantic roles & 50–950 ramp

primary
#DEF174
secondary
#543FCB
accent
#07DE28
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF174

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

Preview Lab → · Contrast checker → · Palette generator →

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