#DEF460#DEF460

#DEF460 is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 92.3% C 0.172 H 117.0°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#DEF460
RGBrgb(222, 244, 96)
HSLhsl(69, 87%, 67%)
HSVhsv(69, 61%, 96%)
CMYKcmyk(9%, 0%, 60.7%, 4.3%)
CIE-LABlab(92.17, -26.65, 66.85)
CIE-LCHlch(92.17, 71.96, 111.74°)
OKLaboklab(92.33% -0.0782 0.1531)
OKLCHoklch(92.33% 0.172 117)
XYZxyz(64.5874, 81.0762, 23.3109)
Luminance0.8107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF460 #7660F4
analogous
#F4C060 #DEF460 #94F460
triadic
#DEF460 #60DEF4 #F460DE
tetradic
#DEF460 #60F4C0 #7660F4 #F46094
square
#DEF460 #60F4C0 #7660F4 #F46094
split-complementary
#DEF460 #6094F4 #C060F4
monochromatic
#AFCC0E #D2F027 #DEF460 #EAF899 #F6FCD2

Accessibility & contrast

On white

1.22
#DEF460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#DEF460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF460
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF460#FFFFFF#000000##000000
##DEF4601.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE84E
Deuteranopia (green-blind)
#FFE96A
Tritanopia (blue-blind)
#EAE7D5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def460;
/* rgb */ color: rgb(222, 244, 96);
/* oklch */ color: oklch(92.3% 0.172 117.0);
Tailwind
colors: {
  custom: {
    50: '#ebf793',
    500: '#def460',
    950: '#000000',
  },
}
SCSS
$custom: #def460;
$custom-light: #ebf793;
$custom-dark: #000000;
JSON
{
  "hex": "#def460",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 96
  },
  "hsl": {
    "h": 68.919,
    "s": 87.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.92328,
    "c": 0.17193,
    "h": 117
  },
  "luminance": 0.81075
}

Semantic roles & 50–950 ramp

primary
#DEF460
secondary
#4730C8
accent
#02E423
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF460

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

Preview Lab → · Contrast checker → · Palette generator →

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