#DEF26C#DEF26C

#DEF26C is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.0% C 0.160 H 116.7°. Best body text is #000000 at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#DEF26C
RGBrgb(222, 242, 108)
HSLhsl(69, 84%, 69%)
HSVhsv(69, 55%, 95%)
CMYKcmyk(8.3%, 0%, 55.4%, 5.1%)
CIE-LABlab(91.74, -24.81, 61.28)
CIE-LCHlch(91.74, 66.12, 112.04°)
OKLaboklab(92.02% -0.0719 0.1427)
OKLCHoklch(92.02% 0.16 116.7)
XYZxyz(64.5842, 80.1173, 26.2463)
Luminance0.8012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF26C #806CF2
analogous
#F2C36C #DEF26C #9BF26C
triadic
#DEF26C #6CDEF2 #F26CDE
tetradic
#DEF26C #6CF2C3 #806CF2 #F26C9B
square
#DEF26C #6CF2C3 #806CF2 #F26C9B
split-complementary
#DEF26C #6C9BF2 #C36CF2
monochromatic
#B5D112 #D1ED34 #DEF26C #EBF7A4 #F7FCDC

Accessibility & contrast

On white

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

On black

17.02
#DEF26C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF26C
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF26C#FFFFFF#000000##000000
##DEF26C1.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE75E
Deuteranopia (green-blind)
#FFE874
Tritanopia (blue-blind)
#EAE6D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def26c;
/* rgb */ color: rgb(222, 242, 108);
/* oklch */ color: oklch(92.0% 0.160 116.7);
Tailwind
colors: {
  custom: {
    50: '#ebf69a',
    500: '#def26c',
    950: '#000000',
  },
}
SCSS
$custom: #def26c;
$custom-light: #ebf69a;
$custom-dark: #000000;
JSON
{
  "hex": "#def26c",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 108
  },
  "hsl": {
    "h": 68.955,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.92019,
    "c": 0.15975,
    "h": 116.7
  },
  "luminance": 0.80117
}

Semantic roles & 50–950 ramp

primary
#DEF26C
secondary
#4D37CB
accent
#05E026
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF26C

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

Preview Lab → · Contrast checker → · Palette generator →

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