#DEF849#DEF849

#DEF849 is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.0% C 0.192 H 117.7°. Best body text is #000000 at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#DEF849
RGBrgb(222, 248, 73)
HSLhsl(69, 93%, 63%)
HSVhsv(69, 71%, 97%)
CMYKcmyk(10.5%, 0%, 70.6%, 2.7%)
CIE-LABlab(93.08, -29.89, 76.44)
CIE-LCHlch(93.08, 82.07, 111.35°)
OKLaboklab(93.01% -0.0893 0.17)
OKLCHoklch(93.01% 0.192 117.7)
XYZxyz(64.8957, 83.1461, 18.9321)
Luminance0.8315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF849 #6349F8
analogous
#F8BA49 #DEF849 #87F849
triadic
#DEF849 #49DEF8 #F849DE
tetradic
#DEF849 #49F8BA #6349F8 #F84987
square
#DEF849 #49F8BA #6349F8 #F84987
split-complementary
#DEF849 #4987F8 #BA49F8
monochromatic
#A4BF07 #D3F60E #DEF849 #E9FA84 #F3FDBF

Accessibility & contrast

On white

1.19
#DEF849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.63
#DEF849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF849
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF849#FFFFFF#000000##000000
##DEF8491.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB29
Deuteranopia (green-blind)
#FFEC57
Tritanopia (blue-blind)
#EBEAD6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def849;
/* rgb */ color: rgb(222, 248, 73);
/* oklch */ color: oklch(93.0% 0.192 117.7);
Tailwind
colors: {
  custom: {
    50: '#ecfa87',
    500: '#def849',
    950: '#000000',
  },
}
SCSS
$custom: #def849;
$custom-light: #ecfa87;
$custom-dark: #000000;
JSON
{
  "hex": "#def849",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 73
  },
  "hsl": {
    "h": 68.914,
    "s": 92.593,
    "l": 62.941
  },
  "oklch": {
    "l": 0.9301,
    "c": 0.19205,
    "h": 117.7
  },
  "luminance": 0.83145
}

Semantic roles & 50–950 ramp

primary
#DEF849
secondary
#3E28BD
accent
#00E622
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #DEF849

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

Preview Lab → · Contrast checker → · Palette generator →

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