#DEF273#DEF273

#DEF273 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.1% C 0.154 H 116.9°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#DEF273
RGBrgb(222, 242, 115)
HSLhsl(69, 83%, 70%)
HSVhsv(69, 52%, 95%)
CMYKcmyk(8.3%, 0%, 52.5%, 5.1%)
CIE-LABlab(91.81, -24.23, 58.26)
CIE-LCHlch(91.81, 63.10, 112.59°)
OKLaboklab(92.1% -0.0696 0.1369)
OKLCHoklch(92.1% 0.154 116.9)
XYZxyz(64.9718, 80.2723, 28.2877)
Luminance0.8027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF273 #8773F2
analogous
#F2C773 #DEF273 #9EF273
triadic
#DEF273 #73DEF2 #F273DE
tetradic
#DEF273 #73F2C7 #8773F2 #F2739E
square
#DEF273 #73F2C7 #8773F2 #F2739E
split-complementary
#DEF273 #739EF2 #C773F2
monochromatic
#B8D714 #D1ED3B #DEF273 #EBF7AB #F8FCE3

Accessibility & contrast

On white

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

On black

17.05
#DEF273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF273
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF273#FFFFFF#000000##000000
##DEF2731.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE767
Deuteranopia (green-blind)
#FEE87A
Tritanopia (blue-blind)
#E9E6D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def273;
/* rgb */ color: rgb(222, 242, 115);
/* oklch */ color: oklch(92.1% 0.154 116.9);
Tailwind
colors: {
  custom: {
    50: '#eaf69f',
    500: '#def273',
    950: '#000000',
  },
}
SCSS
$custom: #def273;
$custom-light: #eaf69f;
$custom-dark: #000000;
JSON
{
  "hex": "#def273",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 115
  },
  "hsl": {
    "h": 69.449,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.92097,
    "c": 0.15351,
    "h": 116.9
  },
  "luminance": 0.80272
}

Semantic roles & 50–950 ramp

primary
#DEF273
secondary
#543DCC
accent
#06DF28
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF273

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

Preview Lab → · Contrast checker → · Palette generator →

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