#DEF35C#DEF35C

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

Color values

HEX#DEF35C
RGBrgb(222, 243, 92)
HSLhsl(68, 86%, 66%)
HSVhsv(68, 62%, 95%)
CMYKcmyk(8.6%, 0%, 62.1%, 4.7%)
CIE-LABlab(91.87, -26.45, 68.15)
CIE-LCHlch(91.87, 73.10, 111.21°)
OKLaboklab(92.08% -0.078 0.1554)
OKLCHoklch(92.08% 0.174 116.7)
XYZxyz(64.1079, 80.4043, 22.2655)
Luminance0.8040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF35C #715CF3
analogous
#F3BC5C #DEF35C #92F35C
triadic
#DEF35C #5CDEF3 #F35CDE
tetradic
#DEF35C #5CF3BC #715CF3 #F35C92
square
#DEF35C #5CF3BC #715CF3 #F35C92
split-complementary
#DEF35C #5C92F3 #BC5CF3
monochromatic
#ADC60F #D2EF23 #DEF35C #EAF795 #F5FBCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF35C#FFFFFF#000000##000000
##DEF35C1.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)
#FFE749
Deuteranopia (green-blind)
#FFE966
Tritanopia (blue-blind)
#EBE6D4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def35c;
/* rgb */ color: rgb(222, 243, 92);
/* oklch */ color: oklch(92.1% 0.174 116.7);
Tailwind
colors: {
  custom: {
    50: '#ebf791',
    500: '#def35c',
    950: '#000000',
  },
}
SCSS
$custom: #def35c;
$custom-light: #ebf791;
$custom-dark: #000000;
JSON
{
  "hex": "#def35c",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 92
  },
  "hsl": {
    "h": 68.344,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.92077,
    "c": 0.17384,
    "h": 116.7
  },
  "luminance": 0.80403
}

Semantic roles & 50–950 ramp

primary
#DEF35C
secondary
#4530C3
accent
#03E322
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF35C

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

Preview Lab → · Contrast checker → · Palette generator →

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