#DEF259#DEF259

#DEF259 is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 91.8% C 0.175 H 116.3°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#DEF259
RGBrgb(222, 242, 89)
HSLhsl(68, 85%, 65%)
HSVhsv(68, 63%, 95%)
CMYKcmyk(8.3%, 0%, 63.2%, 5.1%)
CIE-LABlab(91.58, -26.17, 69.03)
CIE-LCHlch(91.58, 73.83, 110.76°)
OKLaboklab(91.84% -0.0775 0.1568)
OKLCHoklch(91.84% 0.175 116.3)
XYZxyz(63.6809, 79.7560, 21.4890)
Luminance0.7975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF259 #6D59F2
analogous
#F2B959 #DEF259 #92F259
triadic
#DEF259 #59DEF2 #F259DE
tetradic
#DEF259 #59F2B9 #6D59F2 #F25992
square
#DEF259 #59F2B9 #6D59F2 #F25992
split-complementary
#DEF259 #5992F2 #B959F2
monochromatic
#AAC10F #D3EE20 #DEF259 #E9F692 #F5FBCB

Accessibility & contrast

On white

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

On black

16.95
#DEF259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF259
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF259#FFFFFF#000000##000000
##DEF2591.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE645
Deuteranopia (green-blind)
#FFE864
Tritanopia (blue-blind)
#EBE5D2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def259;
/* rgb */ color: rgb(222, 242, 89);
/* oklch */ color: oklch(91.8% 0.175 116.3);
Tailwind
colors: {
  custom: {
    50: '#ebf68f',
    500: '#def259',
    950: '#000000',
  },
}
SCSS
$custom: #def259;
$custom-light: #ebf68f;
$custom-dark: #000000;
JSON
{
  "hex": "#def259",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 89
  },
  "hsl": {
    "h": 67.843,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.91837,
    "c": 0.17493,
    "h": 116.3
  },
  "luminance": 0.79755
}

Semantic roles & 50–950 ramp

primary
#DEF259
secondary
#4330BF
accent
#04E221
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF259

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

Preview Lab → · Contrast checker → · Palette generator →

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