#DEF274#DEF274

#DEF274 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.1% C 0.153 H 117.0°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#DEF274
RGBrgb(222, 242, 116)
HSLhsl(70, 83%, 70%)
HSVhsv(70, 52%, 95%)
CMYKcmyk(8.3%, 0%, 52.1%, 5.1%)
CIE-LABlab(91.82, -24.15, 57.82)
CIE-LCHlch(91.82, 62.66, 112.67°)
OKLaboklab(92.11% -0.0692 0.136)
OKLCHoklch(92.11% 0.153 117)
XYZxyz(65.0296, 80.2955, 28.5924)
Luminance0.8030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF274 #8874F2
analogous
#F2C774 #DEF274 #9FF274
triadic
#DEF274 #74DEF2 #F274DE
tetradic
#DEF274 #74F2C7 #8874F2 #F2749F
square
#DEF274 #74F2C7 #8874F2 #F2749F
split-complementary
#DEF274 #749FF2 #C774F2
monochromatic
#B8D714 #D1ED3C #DEF274 #EBF7AC #F8FCE3

Accessibility & contrast

On white

1.23
#DEF274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.06
#DEF274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF274
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF274#FFFFFF#000000##000000
##DEF2741.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE768
Deuteranopia (green-blind)
#FEE87B
Tritanopia (blue-blind)
#E9E6D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def274;
/* rgb */ color: rgb(222, 242, 116);
/* oklch */ color: oklch(92.1% 0.153 117.0);
Tailwind
colors: {
  custom: {
    50: '#eaf69f',
    500: '#def274',
    950: '#000000',
  },
}
SCSS
$custom: #def274;
$custom-light: #eaf69f;
$custom-dark: #000000;
JSON
{
  "hex": "#def274",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 116
  },
  "hsl": {
    "h": 69.524,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92109,
    "c": 0.1526,
    "h": 117
  },
  "luminance": 0.80295
}

Semantic roles & 50–950 ramp

primary
#DEF274
secondary
#553ECC
accent
#06DF29
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF274

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

Preview Lab → · Contrast checker → · Palette generator →

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