#DEF350#DEF350

#DEF350 is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.0% C 0.182 H 116.4°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#DEF350
RGBrgb(222, 243, 80)
HSLhsl(68, 87%, 63%)
HSVhsv(68, 67%, 95%)
CMYKcmyk(8.6%, 0%, 67.1%, 4.7%)
CIE-LABlab(91.78, -27.18, 72.67)
CIE-LCHlch(91.78, 77.59, 110.51°)
OKLaboklab(91.98% -0.0812 0.1632)
OKLCHoklch(91.98% 0.182 116.4)
XYZxyz(63.6242, 80.2108, 19.7184)
Luminance0.8021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF350 #6550F3
analogous
#F3B650 #DEF350 #8CF350
triadic
#DEF350 #50DEF3 #F350DE
tetradic
#DEF350 #50F3B6 #6550F3 #F3508C
square
#DEF350 #50F3B6 #6550F3 #F3508C
split-complementary
#DEF350 #508CF3 #B650F3
monochromatic
#A5BC0D #D3EF17 #DEF350 #E9F789 #F4FBC3

Accessibility & contrast

On white

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

On black

17.04
#DEF350 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF350
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF350#FFFFFF#000000##000000
##DEF3501.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE737
Deuteranopia (green-blind)
#FFE95C
Tritanopia (blue-blind)
#EBE6D2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def350;
/* rgb */ color: rgb(222, 243, 80);
/* oklch */ color: oklch(92.0% 0.182 116.4);
Tailwind
colors: {
  custom: {
    50: '#ecf78a',
    500: '#def350',
    950: '#000000',
  },
}
SCSS
$custom: #def350;
$custom-light: #ecf78a;
$custom-dark: #000000;
JSON
{
  "hex": "#def350",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 80
  },
  "hsl": {
    "h": 67.73,
    "s": 87.166,
    "l": 63.333
  },
  "oklch": {
    "l": 0.9198,
    "c": 0.18226,
    "h": 116.4
  },
  "luminance": 0.8021
}

Semantic roles & 50–950 ramp

primary
#DEF350
secondary
#3F2DBA
accent
#02E41F
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #DEF350

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

Preview Lab → · Contrast checker → · Palette generator →

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