#DEF46B#DEF46B

#DEF46B is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.4% C 0.163 H 117.3°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#DEF46B
RGBrgb(222, 244, 107)
HSLhsl(70, 86%, 69%)
HSVhsv(70, 56%, 96%)
CMYKcmyk(9%, 0%, 56.1%, 4.3%)
CIE-LABlab(92.26, -25.84, 62.31)
CIE-LCHlch(92.26, 67.46, 112.52°)
OKLaboklab(92.44% -0.0748 0.1448)
OKLCHoklch(92.44% 0.163 117.3)
XYZxyz(65.1298, 81.2931, 26.1672)
Luminance0.8129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF46B #816BF4
analogous
#F4C66B #DEF46B #9AF46B
triadic
#DEF46B #6BDEF4 #F46BDE
tetradic
#DEF46B #6BF4C6 #816BF4 #F46B9A
square
#DEF46B #6BF4C6 #816BF4 #F46B9A
split-complementary
#DEF46B #6B9AF4 #C66BF4
monochromatic
#B5D510 #D1F032 #DEF46B #EBF8A4 #F7FCDD

Accessibility & contrast

On white

1.22
#DEF46B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#DEF46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF46B
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF46B#FFFFFF#000000##000000
##DEF46B1.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE85D
Deuteranopia (green-blind)
#FFEA73
Tritanopia (blue-blind)
#EAE8D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def46b;
/* rgb */ color: rgb(222, 244, 107);
/* oklch */ color: oklch(92.4% 0.163 117.3);
Tailwind
colors: {
  custom: {
    50: '#ebf79a',
    500: '#def46b',
    950: '#000000',
  },
}
SCSS
$custom: #def46b;
$custom-light: #ebf79a;
$custom-dark: #000000;
JSON
{
  "hex": "#def46b",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 107
  },
  "hsl": {
    "h": 69.635,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.92436,
    "c": 0.16297,
    "h": 117.3
  },
  "luminance": 0.81292
}

Semantic roles & 50–950 ramp

primary
#DEF46B
secondary
#4E36CD
accent
#03E327
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF46B

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

Preview Lab → · Contrast checker → · Palette generator →

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