#DEF062#DEF062

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

Color values

HEX#DEF062
RGBrgb(222, 240, 98)
HSLhsl(68, 83%, 66%)
HSVhsv(68, 59%, 94%)
CMYKcmyk(7.5%, 0%, 59.2%, 5.9%)
CIE-LABlab(91.11, -24.62, 64.87)
CIE-LCHlch(91.11, 69.38, 110.78°)
OKLaboklab(91.49% -0.0723 0.1492)
OKLCHoklch(91.49% 0.166 115.8)
XYZxyz(63.4902, 78.7325, 23.4052)
Luminance0.7873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF062 #7462F0
analogous
#F0BB62 #DEF062 #97F062
triadic
#DEF062 #62DEF0 #F062DE
tetradic
#DEF062 #62F0BB #7462F0 #F06297
square
#DEF062 #62F0BB #7462F0 #F06297
split-complementary
#DEF062 #6297F0 #BB62F0
monochromatic
#AEC513 #D2EB2A #DEF062 #EAF59A #F5FBD2

Accessibility & contrast

On white

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

On black

16.75
#DEF062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF062
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF062#FFFFFF#000000##000000
##DEF0621.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def062;
/* rgb */ color: rgb(222, 240, 98);
/* oklch */ color: oklch(91.5% 0.166 115.8);
Tailwind
colors: {
  custom: {
    50: '#ebf494',
    500: '#def062',
    950: '#000000',
  },
}
SCSS
$custom: #def062;
$custom-light: #ebf494;
$custom-dark: #000000;
JSON
{
  "hex": "#def062",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 98
  },
  "hsl": {
    "h": 67.606,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.91489,
    "c": 0.16578,
    "h": 115.8
  },
  "luminance": 0.78732
}

Semantic roles & 50–950 ramp

primary
#DEF062
secondary
#4634C2
accent
#07DF22
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DEF062

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

Preview Lab → · Contrast checker → · Palette generator →

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