#DEF059#DEF059

#DEF059 is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 91.4% C 0.173 H 115.7°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#DEF059
RGBrgb(222, 240, 89)
HSLhsl(67, 83%, 65%)
HSVhsv(67, 63%, 94%)
CMYKcmyk(7.5%, 0%, 62.9%, 5.9%)
CIE-LABlab(91.04, -25.22, 68.47)
CIE-LCHlch(91.04, 72.97, 110.23°)
OKLaboklab(91.41% -0.0749 0.1556)
OKLCHoklch(91.41% 0.173 115.7)
XYZxyz(63.0889, 78.5720, 21.2917)
Luminance0.7857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF059 #6B59F0
analogous
#F0B659 #DEF059 #93F059
triadic
#DEF059 #59DEF0 #F059DE
tetradic
#DEF059 #59F0B6 #6B59F0 #F05993
square
#DEF059 #59F0B6 #6B59F0 #F05993
split-complementary
#DEF059 #5993F0 #B659F0
monochromatic
#A9BD11 #D3EB21 #DEF059 #E9F591 #F4FAC9

Accessibility & contrast

On white

1.26
#DEF059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#DEF059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF059
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF059#FFFFFF#000000##000000
##DEF0591.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE445
Deuteranopia (green-blind)
#FEE763
Tritanopia (blue-blind)
#EBE3D1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #def059;
/* rgb */ color: rgb(222, 240, 89);
/* oklch */ color: oklch(91.4% 0.173 115.7);
Tailwind
colors: {
  custom: {
    50: '#ebf48f',
    500: '#def059',
    950: '#000000',
  },
}
SCSS
$custom: #def059;
$custom-light: #ebf48f;
$custom-dark: #000000;
JSON
{
  "hex": "#def059",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 89
  },
  "hsl": {
    "h": 67.152,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91408,
    "c": 0.1727,
    "h": 115.7
  },
  "luminance": 0.78571
}

Semantic roles & 50–950 ramp

primary
#DEF059
secondary
#4231BC
accent
#06E020
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF059

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

Preview Lab → · Contrast checker → · Palette generator →

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