#DEF25D#DEF25D

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

Color values

HEX#DEF25D
RGBrgb(222, 242, 93)
HSLhsl(68, 85%, 66%)
HSVhsv(68, 62%, 95%)
CMYKcmyk(8.3%, 0%, 61.6%, 5.1%)
CIE-LABlab(91.61, -25.91, 67.47)
CIE-LCHlch(91.61, 72.27, 111.01°)
OKLaboklab(91.87% -0.0764 0.1541)
OKLCHoklch(91.87% 0.172 116.4)
XYZxyz(63.8534, 79.8250, 22.3978)
Luminance0.7982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF25D #715DF2
analogous
#F2BC5D #DEF25D #93F25D
triadic
#DEF25D #5DDEF2 #F25DDE
tetradic
#DEF25D #5DF2BC #715DF2 #F25D93
square
#DEF25D #5DF2BC #715DF2 #F25D93
split-complementary
#DEF25D #5D93F2 #BC5DF2
monochromatic
#ADC510 #D2ED24 #DEF25D #EAF796 #F5FBCE

Accessibility & contrast

On white

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

On black

16.96
#DEF25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF25D
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF25D#FFFFFF#000000##000000
##DEF25D1.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def25d;
/* rgb */ color: rgb(222, 242, 93);
/* oklch */ color: oklch(91.9% 0.172 116.4);
Tailwind
colors: {
  custom: {
    50: '#ebf691',
    500: '#def25d',
    950: '#000000',
  },
}
SCSS
$custom: #def25d;
$custom-light: #ebf691;
$custom-dark: #000000;
JSON
{
  "hex": "#def25d",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 93
  },
  "hsl": {
    "h": 68.054,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.91872,
    "c": 0.17195,
    "h": 116.4
  },
  "luminance": 0.79824
}

Semantic roles & 50–950 ramp

primary
#DEF25D
secondary
#4531C2
accent
#04E222
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF25D

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

Preview Lab → · Contrast checker → · Palette generator →

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