#DEF354#DEF354

#DEF354 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.0% C 0.180 H 116.5°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#DEF354
RGBrgb(222, 243, 84)
HSLhsl(68, 87%, 64%)
HSVhsv(68, 65%, 95%)
CMYKcmyk(8.6%, 0%, 65.4%, 4.7%)
CIE-LABlab(91.81, -26.95, 71.21)
CIE-LCHlch(91.81, 76.14, 110.73°)
OKLaboklab(92.01% -0.0802 0.1607)
OKLCHoklch(92.01% 0.18 116.5)
XYZxyz(63.7764, 80.2717, 20.5201)
Luminance0.8027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF354 #6954F3
analogous
#F3B954 #DEF354 #8EF354
triadic
#DEF354 #54DEF3 #F354DE
tetradic
#DEF354 #54F3B9 #6954F3 #F3548E
square
#DEF354 #54F3B9 #6954F3 #F3548E
split-complementary
#DEF354 #548EF3 #B954F3
monochromatic
#A8BF0D #D3EF1B #DEF354 #E9F78D #F4FBC6

Accessibility & contrast

On white

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

On black

17.05
#DEF354 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF354
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF354#FFFFFF#000000##000000
##DEF3541.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE73D
Deuteranopia (green-blind)
#FFE960
Tritanopia (blue-blind)
#EBE6D3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def354;
/* rgb */ color: rgb(222, 243, 84);
/* oklch */ color: oklch(92.0% 0.180 116.5);
Tailwind
colors: {
  custom: {
    50: '#ecf78c',
    500: '#def354',
    950: '#000000',
  },
}
SCSS
$custom: #def354;
$custom-light: #ecf78c;
$custom-dark: #000000;
JSON
{
  "hex": "#def354",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 84
  },
  "hsl": {
    "h": 67.925,
    "s": 86.885,
    "l": 64.118
  },
  "oklch": {
    "l": 0.92011,
    "c": 0.17958,
    "h": 116.5
  },
  "luminance": 0.80271
}

Semantic roles & 50–950 ramp

primary
#DEF354
secondary
#412EBD
accent
#02E320
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF354

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

Preview Lab → · Contrast checker → · Palette generator →

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