#DEF082#DEF082

#DEF082 is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 91.9% C 0.137 H 116.8°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#DEF082
RGBrgb(222, 240, 130)
HSLhsl(70, 79%, 73%)
HSVhsv(70, 46%, 94%)
CMYKcmyk(7.5%, 0%, 45.8%, 5.9%)
CIE-LABlab(91.44, -21.89, 50.89)
CIE-LCHlch(91.44, 55.40, 113.28°)
OKLaboklab(91.86% -0.0616 0.1219)
OKLCHoklch(91.86% 0.137 116.8)
XYZxyz(65.3142, 79.4621, 33.0117)
Luminance0.7946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF082 #9482F0
analogous
#F0CB82 #DEF082 #A7F082
triadic
#DEF082 #82DEF0 #F082DE
tetradic
#DEF082 #82F0CB #9482F0 #F082A7
square
#DEF082 #82F0CB #9482F0 #F082A7
split-complementary
#DEF082 #82A7F0 #CB82F0
monochromatic
#BDDD1B #D0E94B #DEF082 #ECF7B9 #F8FCE4

Accessibility & contrast

On white

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

On black

16.89
#DEF082 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF082
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF082#FFFFFF#000000##000000
##DEF0821.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE679
Deuteranopia (green-blind)
#FBE788
Tritanopia (blue-blind)
#E8E5D6
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def082;
/* rgb */ color: rgb(222, 240, 130);
/* oklch */ color: oklch(91.9% 0.137 116.8);
Tailwind
colors: {
  custom: {
    50: '#eaf4a8',
    500: '#def082',
    950: '#000000',
  },
}
SCSS
$custom: #def082;
$custom-light: #eaf4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#def082",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 130
  },
  "hsl": {
    "h": 69.818,
    "s": 78.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.9186,
    "c": 0.1366,
    "h": 116.8
  },
  "luminance": 0.79461
}

Semantic roles & 50–950 ramp

primary
#DEF082
secondary
#604BCB
accent
#0BDB2D
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF082

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

Preview Lab → · Contrast checker → · Palette generator →

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