#DEF260#DEF260

#DEF260 is a very light, vivid yellow. Relative luminance 0.799; OKLCH L 91.9% C 0.170 H 116.4°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#DEF260
RGBrgb(222, 242, 96)
HSLhsl(68, 85%, 66%)
HSVhsv(68, 60%, 95%)
CMYKcmyk(8.3%, 0%, 60.3%, 5.1%)
CIE-LABlab(91.63, -25.71, 66.27)
CIE-LCHlch(91.63, 71.08, 111.20°)
OKLaboklab(91.9% -0.0755 0.1519)
OKLCHoklch(91.9% 0.17 116.4)
XYZxyz(63.9889, 79.8792, 23.1114)
Luminance0.7988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF260 #7460F2
analogous
#F2BD60 #DEF260 #95F260
triadic
#DEF260 #60DEF2 #F260DE
tetradic
#DEF260 #60F2BD #7460F2 #F26095
square
#DEF260 #60F2BD #7460F2 #F26095
split-complementary
#DEF260 #6095F2 #BD60F2
monochromatic
#AEC710 #D2ED27 #DEF260 #EAF799 #F5FBD1

Accessibility & contrast

On white

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

On black

16.98
#DEF260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF260
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF260#FFFFFF#000000##000000
##DEF2601.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE64F
Deuteranopia (green-blind)
#FFE86A
Tritanopia (blue-blind)
#EBE5D3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def260;
/* rgb */ color: rgb(222, 242, 96);
/* oklch */ color: oklch(91.9% 0.170 116.4);
Tailwind
colors: {
  custom: {
    50: '#ebf693',
    500: '#def260',
    950: '#000000',
  },
}
SCSS
$custom: #def260;
$custom-light: #ebf693;
$custom-dark: #000000;
JSON
{
  "hex": "#def260",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 96
  },
  "hsl": {
    "h": 68.219,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.91899,
    "c": 0.16964,
    "h": 116.4
  },
  "luminance": 0.79878
}

Semantic roles & 50–950 ramp

primary
#DEF260
secondary
#4632C4
accent
#04E122
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF260

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

Preview Lab → · Contrast checker → · Palette generator →

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