#DEF36C#DEF36C

#DEF36C is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.2% C 0.161 H 117.1°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#DEF36C
RGBrgb(222, 243, 108)
HSLhsl(69, 85%, 69%)
HSVhsv(69, 56%, 95%)
CMYKcmyk(8.6%, 0%, 55.6%, 4.7%)
CIE-LABlab(92.00, -25.29, 61.59)
CIE-LCHlch(92.00, 66.58, 112.32°)
OKLaboklab(92.23% -0.0732 0.1433)
OKLCHoklch(92.23% 0.161 117.1)
XYZxyz(64.8826, 80.7142, 26.3458)
Luminance0.8071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF36C #816CF3
analogous
#F3C56C #DEF36C #9BF36C
triadic
#DEF36C #6CDEF3 #F36CDE
tetradic
#DEF36C #6CF3C5 #816CF3 #F36C9B
square
#DEF36C #6CF3C5 #816CF3 #F36C9B
split-complementary
#DEF36C #6C9BF3 #C56CF3
monochromatic
#B5D311 #D1EE33 #DEF36C #EBF8A5 #F7FCDD

Accessibility & contrast

On white

1.23
#DEF36C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.14
#DEF36C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF36C
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF36C#FFFFFF#000000##000000
##DEF36C1.001.2317.1417.14
#FFFFFF1.231.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def36c;
/* rgb */ color: rgb(222, 243, 108);
/* oklch */ color: oklch(92.2% 0.161 117.1);
Tailwind
colors: {
  custom: {
    50: '#ebf79a',
    500: '#def36c',
    950: '#000000',
  },
}
SCSS
$custom: #def36c;
$custom-light: #ebf79a;
$custom-dark: #000000;
JSON
{
  "hex": "#def36c",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 108
  },
  "hsl": {
    "h": 69.333,
    "s": 84.906,
    "l": 68.824
  },
  "oklch": {
    "l": 0.92233,
    "c": 0.16093,
    "h": 117.1
  },
  "luminance": 0.80713
}

Semantic roles & 50–950 ramp

primary
#DEF36C
secondary
#4E37CC
accent
#04E127
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF36C

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

Preview Lab → · Contrast checker → · Palette generator →

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