#DEF05B#DEF05B

#DEF05B is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 91.4% C 0.171 H 115.7°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#DEF05B
RGBrgb(222, 240, 91)
HSLhsl(67, 83%, 65%)
HSVhsv(67, 62%, 94%)
CMYKcmyk(7.5%, 0%, 62.1%, 5.9%)
CIE-LABlab(91.06, -25.10, 67.68)
CIE-LCHlch(91.06, 72.19, 110.34°)
OKLaboklab(91.43% -0.0743 0.1543)
OKLCHoklch(91.43% 0.171 115.7)
XYZxyz(63.1740, 78.6060, 21.7400)
Luminance0.7861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF05B #6D5BF0
analogous
#F0B75B #DEF05B #94F05B
triadic
#DEF05B #5BDEF0 #F05BDE
tetradic
#DEF05B #5BF0B7 #6D5BF0 #F05B94
square
#DEF05B #5BF0B7 #6D5BF0 #F05B94
split-complementary
#DEF05B #5B94F0 #B75BF0
monochromatic
#AABF11 #D3EB23 #DEF05B #E9F593 #F5FACB

Accessibility & contrast

On white

1.26
#DEF05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.72
#DEF05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF05B
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF05B#FFFFFF#000000##000000
##DEF05B1.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE448
Deuteranopia (green-blind)
#FEE765
Tritanopia (blue-blind)
#EBE3D1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #def05b;
/* rgb */ color: rgb(222, 240, 91);
/* oklch */ color: oklch(91.4% 0.171 115.7);
Tailwind
colors: {
  custom: {
    50: '#ebf490',
    500: '#def05b',
    950: '#000000',
  },
}
SCSS
$custom: #def05b;
$custom-light: #ebf490;
$custom-dark: #000000;
JSON
{
  "hex": "#def05b",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 91
  },
  "hsl": {
    "h": 67.248,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.91425,
    "c": 0.17122,
    "h": 115.7
  },
  "luminance": 0.78605
}

Semantic roles & 50–950 ramp

primary
#DEF05B
secondary
#4332BD
accent
#06E020
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF05B

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

Preview Lab → · Contrast checker → · Palette generator →

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