#DEF060#DEF060

#DEF060 is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 91.5% C 0.167 H 115.8°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#DEF060
RGBrgb(222, 240, 96)
HSLhsl(68, 83%, 66%)
HSVhsv(68, 60%, 94%)
CMYKcmyk(7.5%, 0%, 60%, 5.9%)
CIE-LABlab(91.10, -24.76, 65.69)
CIE-LCHlch(91.10, 70.20, 110.65°)
OKLaboklab(91.47% -0.0729 0.1507)
OKLCHoklch(91.47% 0.167 115.8)
XYZxyz(63.3969, 78.6952, 22.9140)
Luminance0.7869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF060 #7260F0
analogous
#F0BA60 #DEF060 #96F060
triadic
#DEF060 #60DEF0 #F060DE
tetradic
#DEF060 #60F0BA #7260F0 #F06096
square
#DEF060 #60F0BA #7260F0 #F06096
split-complementary
#DEF060 #6096F0 #BA60F0
monochromatic
#ADC312 #D2EB28 #DEF060 #EAF598 #F5FBD0

Accessibility & contrast

On white

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

On black

16.74
#DEF060 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF060
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF060#FFFFFF#000000##000000
##DEF0601.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE54F
Deuteranopia (green-blind)
#FEE769
Tritanopia (blue-blind)
#EBE3D2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #def060;
/* rgb */ color: rgb(222, 240, 96);
/* oklch */ color: oklch(91.5% 0.167 115.8);
Tailwind
colors: {
  custom: {
    50: '#ebf493',
    500: '#def060',
    950: '#000000',
  },
}
SCSS
$custom: #def060;
$custom-light: #ebf493;
$custom-dark: #000000;
JSON
{
  "hex": "#def060",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 96
  },
  "hsl": {
    "h": 67.5,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.9147,
    "c": 0.16737,
    "h": 115.8
  },
  "luminance": 0.78694
}

Semantic roles & 50–950 ramp

primary
#DEF060
secondary
#4533C1
accent
#06DF21
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF060

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

Preview Lab → · Contrast checker → · Palette generator →

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