#DEF15F#DEF15F

#DEF15F is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 91.7% C 0.169 H 116.1°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#DEF15F
RGBrgb(222, 241, 95)
HSLhsl(68, 84%, 66%)
HSVhsv(68, 61%, 95%)
CMYKcmyk(7.9%, 0%, 60.6%, 5.5%)
CIE-LABlab(91.36, -25.30, 66.38)
CIE-LCHlch(91.36, 71.04, 110.86°)
OKLaboklab(91.68% -0.0745 0.152)
OKLCHoklch(91.68% 0.169 116.1)
XYZxyz(63.6464, 79.2672, 22.7715)
Luminance0.7927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF15F #725FF1
analogous
#F1BB5F #DEF15F #95F15F
triadic
#DEF15F #5FDEF1 #F15FDE
tetradic
#DEF15F #5FF1BB #725FF1 #F15F95
square
#DEF15F #5FF1BB #725FF1 #F15F95
split-complementary
#DEF15F #5F95F1 #BB5FF1
monochromatic
#ADC411 #D2EC27 #DEF15F #EAF697 #F5FBD0

Accessibility & contrast

On white

1.25
#DEF15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#DEF15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF15F
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF15F#FFFFFF#000000##000000
##DEF15F1.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE54E
Deuteranopia (green-blind)
#FFE769
Tritanopia (blue-blind)
#EBE4D2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def15f;
/* rgb */ color: rgb(222, 241, 95);
/* oklch */ color: oklch(91.7% 0.169 116.1);
Tailwind
colors: {
  custom: {
    50: '#ebf592',
    500: '#def15f',
    950: '#000000',
  },
}
SCSS
$custom: #def15f;
$custom-light: #ebf592;
$custom-dark: #000000;
JSON
{
  "hex": "#def15f",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 95
  },
  "hsl": {
    "h": 67.808,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.91675,
    "c": 0.16928,
    "h": 116.1
  },
  "luminance": 0.79266
}

Semantic roles & 50–950 ramp

primary
#DEF15F
secondary
#4532C2
accent
#05E022
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF15F

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

Preview Lab → · Contrast checker → · Palette generator →

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