#DEF36B#DEF36B

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

Color values

HEX#DEF36B
RGBrgb(222, 243, 107)
HSLhsl(69, 85%, 69%)
HSVhsv(69, 56%, 95%)
CMYKcmyk(8.6%, 0%, 56%, 4.7%)
CIE-LABlab(91.99, -25.36, 62.01)
CIE-LCHlch(91.99, 67.00, 112.25°)
OKLaboklab(92.22% -0.0735 0.1441)
OKLCHoklch(92.22% 0.162 117)
XYZxyz(64.8297, 80.6930, 26.0671)
Luminance0.8069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF36B #806BF3
analogous
#F3C46B #DEF36B #9AF36B
triadic
#DEF36B #6BDEF3 #F36BDE
tetradic
#DEF36B #6BF3C4 #806BF3 #F36B9A
square
#DEF36B #6BF3C4 #806BF3 #F36B9A
split-complementary
#DEF36B #6B9AF3 #C46BF3
monochromatic
#B5D311 #D1EE32 #DEF36B #EBF8A4 #F7FCDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF36B#FFFFFF#000000##000000
##DEF36B1.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)
#FFE75D
Deuteranopia (green-blind)
#FFE973
Tritanopia (blue-blind)
#EAE7D5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def36b;
/* rgb */ color: rgb(222, 243, 107);
/* oklch */ color: oklch(92.2% 0.162 117.0);
Tailwind
colors: {
  custom: {
    50: '#ebf79a',
    500: '#def36b',
    950: '#000000',
  },
}
SCSS
$custom: #def36b;
$custom-light: #ebf79a;
$custom-dark: #000000;
JSON
{
  "hex": "#def36b",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 107
  },
  "hsl": {
    "h": 69.265,
    "s": 85,
    "l": 68.627
  },
  "oklch": {
    "l": 0.92222,
    "c": 0.16178,
    "h": 117
  },
  "luminance": 0.80692
}

Semantic roles & 50–950 ramp

primary
#DEF36B
secondary
#4D36CC
accent
#04E126
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF36B

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

Preview Lab → · Contrast checker → · Palette generator →

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