#DEF45D#DEF45D

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

Color values

HEX#DEF45D
RGBrgb(222, 244, 93)
HSLhsl(69, 87%, 66%)
HSVhsv(69, 62%, 96%)
CMYKcmyk(9%, 0%, 61.9%, 4.3%)
CIE-LABlab(92.14, -26.85, 68.04)
CIE-LCHlch(92.14, 73.15, 111.54°)
OKLaboklab(92.3% -0.079 0.1553)
OKLCHoklch(92.3% 0.174 117)
XYZxyz(64.4519, 81.0220, 22.5973)
Luminance0.8102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF45D #735DF4
analogous
#F4BE5D #DEF45D #92F45D
triadic
#DEF45D #5DDEF4 #F45DDE
tetradic
#DEF45D #5DF4BE #735DF4 #F45D92
square
#DEF45D #5DF4BE #735DF4 #F45D92
split-complementary
#DEF45D #5D92F4 #BE5DF4
monochromatic
#AEC90E #D2F024 #DEF45D #EAF896 #F5FCD0

Accessibility & contrast

On white

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

On black

17.20
#DEF45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF45D
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF45D#FFFFFF#000000##000000
##DEF45D1.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE84A
Deuteranopia (green-blind)
#FFE967
Tritanopia (blue-blind)
#EBE7D5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def45d;
/* rgb */ color: rgb(222, 244, 93);
/* oklch */ color: oklch(92.3% 0.174 117.0);
Tailwind
colors: {
  custom: {
    50: '#ebf791',
    500: '#def45d',
    950: '#000000',
  },
}
SCSS
$custom: #def45d;
$custom-light: #ebf791;
$custom-dark: #000000;
JSON
{
  "hex": "#def45d",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 93
  },
  "hsl": {
    "h": 68.742,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.92301,
    "c": 0.17422,
    "h": 117
  },
  "luminance": 0.81021
}

Semantic roles & 50–950 ramp

primary
#DEF45D
secondary
#4630C6
accent
#02E423
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF45D

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

Preview Lab → · Contrast checker → · Palette generator →

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