#DEF078#DEF078

#DEF078 is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 91.7% C 0.146 H 116.4°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#DEF078
RGBrgb(222, 240, 120)
HSLhsl(69, 80%, 71%)
HSVhsv(69, 50%, 94%)
CMYKcmyk(7.5%, 0%, 50%, 5.9%)
CIE-LABlab(91.33, -22.84, 55.42)
CIE-LCHlch(91.33, 59.94, 112.40°)
OKLaboklab(91.73% -0.0652 0.1311)
OKLCHoklch(91.73% 0.146 116.4)
XYZxyz(64.6753, 79.2065, 29.6469)
Luminance0.7921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF078 #8A78F0
analogous
#F0C678 #DEF078 #A2F078
triadic
#DEF078 #78DEF0 #F078DE
tetradic
#DEF078 #78F0C6 #8A78F0 #F078A2
square
#DEF078 #78F0C6 #8A78F0 #F078A2
split-complementary
#DEF078 #78A2F0 #C678F0
monochromatic
#B9D618 #D1EA41 #DEF078 #EBF6AF #F8FCE3

Accessibility & contrast

On white

1.25
#DEF078 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.84
#DEF078 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF078
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF078#FFFFFF#000000##000000
##DEF0781.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66D
Deuteranopia (green-blind)
#FCE77F
Tritanopia (blue-blind)
#E9E5D5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def078;
/* rgb */ color: rgb(222, 240, 120);
/* oklch */ color: oklch(91.7% 0.146 116.4);
Tailwind
colors: {
  custom: {
    50: '#eaf4a2',
    500: '#def078',
    950: '#000000',
  },
}
SCSS
$custom: #def078;
$custom-light: #eaf4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#def078",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 120
  },
  "hsl": {
    "h": 69,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9173,
    "c": 0.14642,
    "h": 116.4
  },
  "luminance": 0.79206
}

Semantic roles & 50–950 ramp

primary
#DEF078
secondary
#5742CA
accent
#09DC29
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF078

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

Preview Lab → · Contrast checker → · Palette generator →

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