#DEF066#DEF066

#DEF066 is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.5% C 0.163 H 115.9°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#DEF066
RGBrgb(222, 240, 102)
HSLhsl(68, 82%, 67%)
HSVhsv(68, 58%, 94%)
CMYKcmyk(7.5%, 0%, 57.5%, 5.9%)
CIE-LABlab(91.15, -24.32, 63.22)
CIE-LCHlch(91.15, 67.73, 111.04°)
OKLaboklab(91.53% -0.0711 0.1461)
OKLCHoklch(91.53% 0.163 115.9)
XYZxyz(63.6838, 78.8099, 24.4248)
Luminance0.7881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF066 #7866F0
analogous
#F0BD66 #DEF066 #99F066
triadic
#DEF066 #66DEF0 #F066DE
tetradic
#DEF066 #66F0BD #7866F0 #F06699
square
#DEF066 #66F0BD #7866F0 #F06699
split-complementary
#DEF066 #6699F0 #BD66F0
monochromatic
#B0C814 #D2EB2E #DEF066 #EAF59E #F6FBD5

Accessibility & contrast

On white

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

On black

16.76
#DEF066 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF066
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF066#FFFFFF#000000##000000
##DEF0661.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE557
Deuteranopia (green-blind)
#FEE76F
Tritanopia (blue-blind)
#EAE4D2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #def066;
/* rgb */ color: rgb(222, 240, 102);
/* oklch */ color: oklch(91.5% 0.163 115.9);
Tailwind
colors: {
  custom: {
    50: '#ebf496',
    500: '#def066',
    950: '#000000',
  },
}
SCSS
$custom: #def066;
$custom-light: #ebf496;
$custom-dark: #000000;
JSON
{
  "hex": "#def066",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 102
  },
  "hsl": {
    "h": 67.826,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.91529,
    "c": 0.1625,
    "h": 115.9
  },
  "luminance": 0.78809
}

Semantic roles & 50–950 ramp

primary
#DEF066
secondary
#4835C5
accent
#07DF23
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DEF066

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

Preview Lab → · Contrast checker → · Palette generator →

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