#DEF061#DEF061

#DEF061 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#DEF061
RGBrgb(222, 240, 97)
HSLhsl(68, 83%, 66%)
HSVhsv(68, 60%, 94%)
CMYKcmyk(7.5%, 0%, 59.6%, 5.9%)
CIE-LABlab(91.10, -24.69, 65.28)
CIE-LCHlch(91.10, 69.79, 110.72°)
OKLaboklab(91.48% -0.0726 0.1499)
OKLCHoklch(91.48% 0.167 115.8)
XYZxyz(63.4432, 78.7137, 23.1581)
Luminance0.7871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF061 #7361F0
analogous
#F0BA61 #DEF061 #96F061
triadic
#DEF061 #61DEF0 #F061DE
tetradic
#DEF061 #61F0BA #7361F0 #F06196
square
#DEF061 #61F0BA #7361F0 #F06196
split-complementary
#DEF061 #6196F0 #BA61F0
monochromatic
#AEC413 #D2EB29 #DEF061 #EAF599 #F5FBD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF061#FFFFFF#000000##000000
##DEF0611.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)
#FFE550
Deuteranopia (green-blind)
#FEE76A
Tritanopia (blue-blind)
#EBE3D2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #def061;
/* rgb */ color: rgb(222, 240, 97);
/* oklch */ color: oklch(91.5% 0.167 115.8);
Tailwind
colors: {
  custom: {
    50: '#ebf493',
    500: '#def061',
    950: '#000000',
  },
}
SCSS
$custom: #def061;
$custom-light: #ebf493;
$custom-dark: #000000;
JSON
{
  "hex": "#def061",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 97
  },
  "hsl": {
    "h": 67.552,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.9148,
    "c": 0.16657,
    "h": 115.8
  },
  "luminance": 0.78713
}

Semantic roles & 50–950 ramp

primary
#DEF061
secondary
#4634C2
accent
#06DF22
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF061

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

Preview Lab → · Contrast checker → · Palette generator →

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