#DEF074#DEF074

#DEF074 is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 91.7% C 0.150 H 116.3°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#DEF074
RGBrgb(222, 240, 116)
HSLhsl(69, 81%, 70%)
HSVhsv(69, 52%, 94%)
CMYKcmyk(7.5%, 0%, 51.7%, 5.9%)
CIE-LABlab(91.28, -23.19, 57.20)
CIE-LCHlch(91.28, 61.72, 112.07°)
OKLaboklab(91.68% -0.0665 0.1346)
OKLCHoklch(91.68% 0.15 116.3)
XYZxyz(64.4376, 79.1114, 28.3951)
Luminance0.7911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF074 #8674F0
analogous
#F0C474 #DEF074 #A0F074
triadic
#DEF074 #74DEF0 #F074DE
tetradic
#DEF074 #74F0C4 #8674F0 #F074A0
square
#DEF074 #74F0C4 #8674F0 #F074A0
split-complementary
#DEF074 #74A0F0 #C474F0
monochromatic
#B8D317 #D1EA3D #DEF074 #EBF6AB #F8FCE2

Accessibility & contrast

On white

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

On black

16.82
#DEF074 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF074
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF074#FFFFFF#000000##000000
##DEF0741.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE568
Deuteranopia (green-blind)
#FDE77B
Tritanopia (blue-blind)
#EAE4D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def074;
/* rgb */ color: rgb(222, 240, 116);
/* oklch */ color: oklch(91.7% 0.150 116.3);
Tailwind
colors: {
  custom: {
    50: '#eaf49f',
    500: '#def074',
    950: '#000000',
  },
}
SCSS
$custom: #def074;
$custom-light: #eaf49f;
$custom-dark: #000000;
JSON
{
  "hex": "#def074",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 116
  },
  "hsl": {
    "h": 68.71,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91682,
    "c": 0.15018,
    "h": 116.3
  },
  "luminance": 0.79111
}

Semantic roles & 50–950 ramp

primary
#DEF074
secondary
#533FC9
accent
#09DD27
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF074

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

Preview Lab → · Contrast checker → · Palette generator →

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