#DEF362#DEF362

#DEF362 is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.1% C 0.169 H 116.8°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#DEF362
RGBrgb(222, 243, 98)
HSLhsl(69, 86%, 67%)
HSVhsv(69, 60%, 95%)
CMYKcmyk(8.6%, 0%, 59.7%, 4.7%)
CIE-LABlab(91.91, -26.04, 65.75)
CIE-LCHlch(91.91, 70.72, 111.60°)
OKLaboklab(92.13% -0.0763 0.1511)
OKLCHoklch(92.13% 0.169 116.8)
XYZxyz(64.3806, 80.5134, 23.7020)
Luminance0.8051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF362 #7762F3
analogous
#F3C062 #DEF362 #95F362
triadic
#DEF362 #62DEF3 #F362DE
tetradic
#DEF362 #62F3C0 #7762F3 #F36295
square
#DEF362 #62F3C0 #7762F3 #F36295
split-complementary
#DEF362 #6295F3 #C062F3
monochromatic
#B0CB10 #D2EF29 #DEF362 #EAF79B #F6FCD4

Accessibility & contrast

On white

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

On black

17.10
#DEF362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF362
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF362#FFFFFF#000000##000000
##DEF3621.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE751
Deuteranopia (green-blind)
#FFE96B
Tritanopia (blue-blind)
#EAE6D4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def362;
/* rgb */ color: rgb(222, 243, 98);
/* oklch */ color: oklch(92.1% 0.169 116.8);
Tailwind
colors: {
  custom: {
    50: '#ebf794',
    500: '#def362',
    950: '#000000',
  },
}
SCSS
$custom: #def362;
$custom-light: #ebf794;
$custom-dark: #000000;
JSON
{
  "hex": "#def362",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 98
  },
  "hsl": {
    "h": 68.69,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.92132,
    "c": 0.16921,
    "h": 116.8
  },
  "luminance": 0.80513
}

Semantic roles & 50–950 ramp

primary
#DEF362
secondary
#4732C7
accent
#03E224
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DEF362

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

Preview Lab → · Contrast checker → · Palette generator →

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