#DEF462#DEF462

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

Color values

HEX#DEF462
RGBrgb(222, 244, 98)
HSLhsl(69, 87%, 67%)
HSVhsv(69, 60%, 96%)
CMYKcmyk(9%, 0%, 59.8%, 4.3%)
CIE-LABlab(92.18, -26.51, 66.04)
CIE-LCHlch(92.18, 71.16, 111.87°)
OKLaboklab(92.35% -0.0776 0.1517)
OKLCHoklch(92.35% 0.17 117.1)
XYZxyz(64.6807, 81.1135, 23.8020)
Luminance0.8111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF462 #7862F4
analogous
#F4C162 #DEF462 #95F462
triadic
#DEF462 #62DEF4 #F462DE
tetradic
#DEF462 #62F4C1 #7862F4 #F46295
square
#DEF462 #62F4C1 #7862F4 #F46295
split-complementary
#DEF462 #6295F4 #C162F4
monochromatic
#B0CD0E #D2F029 #DEF462 #EAF89B #F6FCD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF462#FFFFFF#000000##000000
##DEF4621.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)
#FFE851
Deuteranopia (green-blind)
#FFE96C
Tritanopia (blue-blind)
#EAE7D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def462;
/* rgb */ color: rgb(222, 244, 98);
/* oklch */ color: oklch(92.3% 0.170 117.1);
Tailwind
colors: {
  custom: {
    50: '#ebf794',
    500: '#def462',
    950: '#000000',
  },
}
SCSS
$custom: #def462;
$custom-light: #ebf794;
$custom-dark: #000000;
JSON
{
  "hex": "#def462",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 98
  },
  "hsl": {
    "h": 69.041,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.92347,
    "c": 0.17036,
    "h": 117.1
  },
  "luminance": 0.81113
}

Semantic roles & 50–950 ramp

primary
#DEF462
secondary
#4831C9
accent
#02E324
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DEF462

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

Preview Lab → · Contrast checker → · Palette generator →

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