#DEF35B#DEF35B

#DEF35B is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.1% C 0.175 H 116.6°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#DEF35B
RGBrgb(222, 243, 91)
HSLhsl(68, 86%, 65%)
HSVhsv(68, 63%, 95%)
CMYKcmyk(8.6%, 0%, 62.6%, 4.7%)
CIE-LABlab(91.86, -26.51, 68.54)
CIE-LCHlch(91.86, 73.49, 111.15°)
OKLaboklab(92.07% -0.0783 0.1561)
OKLCHoklch(92.07% 0.175 116.6)
XYZxyz(64.0644, 80.3869, 22.0368)
Luminance0.8039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF35B #705BF3
analogous
#F3BC5B #DEF35B #92F35B
triadic
#DEF35B #5BDEF3 #F35BDE
tetradic
#DEF35B #5BF3BC #705BF3 #F35B92
square
#DEF35B #5BF3BC #705BF3 #F35B92
split-complementary
#DEF35B #5B92F3 #BC5BF3
monochromatic
#ACC50E #D3EF22 #DEF35B #E9F794 #F5FBCD

Accessibility & contrast

On white

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

On black

17.08
#DEF35B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF35B
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF35B#FFFFFF#000000##000000
##DEF35B1.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def35b;
/* rgb */ color: rgb(222, 243, 91);
/* oklch */ color: oklch(92.1% 0.175 116.6);
Tailwind
colors: {
  custom: {
    50: '#ebf790',
    500: '#def35b',
    950: '#000000',
  },
}
SCSS
$custom: #def35b;
$custom-light: #ebf790;
$custom-dark: #000000;
JSON
{
  "hex": "#def35b",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 91
  },
  "hsl": {
    "h": 68.289,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.92069,
    "c": 0.17458,
    "h": 116.6
  },
  "luminance": 0.80386
}

Semantic roles & 50–950 ramp

primary
#DEF35B
secondary
#4430C2
accent
#03E322
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF35B

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

Preview Lab → · Contrast checker → · Palette generator →

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