#DEF45A#DEF45A

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

Color values

HEX#DEF45A
RGBrgb(222, 244, 90)
HSLhsl(69, 88%, 65%)
HSVhsv(69, 63%, 96%)
CMYKcmyk(9%, 0%, 63.1%, 4.3%)
CIE-LABlab(92.12, -27.05, 69.21)
CIE-LCHlch(92.12, 74.31, 111.35°)
OKLaboklab(92.28% -0.0799 0.1573)
OKLCHoklch(92.28% 0.176 116.9)
XYZxyz(64.3217, 80.9699, 21.9112)
Luminance0.8097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF45A #705AF4
analogous
#F4BD5A #DEF45A #91F45A
triadic
#DEF45A #5ADEF4 #F45ADE
tetradic
#DEF45A #5AF4BD #705AF4 #F45A91
square
#DEF45A #5AF4BD #705AF4 #F45A91
split-complementary
#DEF45A #5A91F4 #BD5AF4
monochromatic
#ACC60D #D3F021 #DEF45A #E9F893 #F5FCCD

Accessibility & contrast

On white

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

On black

17.19
#DEF45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF45A
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF45A#FFFFFF#000000##000000
##DEF45A1.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE846
Deuteranopia (green-blind)
#FFE965
Tritanopia (blue-blind)
#EBE7D4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def45a;
/* rgb */ color: rgb(222, 244, 90);
/* oklch */ color: oklch(92.3% 0.176 116.9);
Tailwind
colors: {
  custom: {
    50: '#ebf78f',
    500: '#def45a',
    950: '#000000',
  },
}
SCSS
$custom: #def45a;
$custom-light: #ebf78f;
$custom-dark: #000000;
JSON
{
  "hex": "#def45a",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 90
  },
  "hsl": {
    "h": 68.571,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.92275,
    "c": 0.17644,
    "h": 116.9
  },
  "luminance": 0.80969
}

Semantic roles & 50–950 ramp

primary
#DEF45A
secondary
#442FC3
accent
#01E422
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF45A

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

Preview Lab → · Contrast checker → · Palette generator →

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