#DEF55C#DEF55C

#DEF55C is a very light, vivid yellow. Relative luminance 0.816; OKLCH L 92.5% C 0.176 H 117.2°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#DEF55C
RGBrgb(222, 245, 92)
HSLhsl(69, 88%, 66%)
HSVhsv(69, 62%, 96%)
CMYKcmyk(9.4%, 0%, 62.4%, 3.9%)
CIE-LABlab(92.40, -27.39, 68.72)
CIE-LCHlch(92.40, 73.97, 111.73°)
OKLaboklab(92.51% -0.0806 0.1566)
OKLCHoklch(92.51% 0.176 117.2)
XYZxyz(64.7096, 81.6078, 22.4661)
Luminance0.8161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF55C #735CF5
analogous
#F5C05C #DEF55C #91F55C
triadic
#DEF55C #5CDEF5 #F55CDE
tetradic
#DEF55C #5CF5C0 #735CF5 #F55C91
square
#DEF55C #5CF5C0 #735CF5 #F55C91
split-complementary
#DEF55C #5C91F5 #C05CF5
monochromatic
#AECA0C #D2F122 #DEF55C #EAF996 #F5FCCF

Accessibility & contrast

On white

1.21
#DEF55C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.32
#DEF55C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF55C
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF55C#FFFFFF#000000##000000
##DEF55C1.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE949
Deuteranopia (green-blind)
#FFEA67
Tritanopia (blue-blind)
#EBE8D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def55c;
/* rgb */ color: rgb(222, 245, 92);
/* oklch */ color: oklch(92.5% 0.176 117.2);
Tailwind
colors: {
  custom: {
    50: '#ebf891',
    500: '#def55c',
    950: '#000000',
  },
}
SCSS
$custom: #def55c;
$custom-light: #ebf891;
$custom-dark: #000000;
JSON
{
  "hex": "#def55c",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 92
  },
  "hsl": {
    "h": 69.02,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.92507,
    "c": 0.1761,
    "h": 117.2
  },
  "luminance": 0.81607
}

Semantic roles & 50–950 ramp

primary
#DEF55C
secondary
#462FC6
accent
#00E523
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF55C

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

Preview Lab → · Contrast checker → · Palette generator →

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