#DEF057#DEF057

#DEF057 is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 91.4% C 0.174 H 115.7°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#DEF057
RGBrgb(222, 240, 87)
HSLhsl(67, 84%, 64%)
HSVhsv(67, 64%, 94%)
CMYKcmyk(7.5%, 0%, 63.7%, 5.9%)
CIE-LABlab(91.03, -25.35, 69.24)
CIE-LCHlch(91.03, 73.73, 110.11°)
OKLaboklab(91.39% -0.0754 0.157)
OKLCHoklch(91.39% 0.174 115.7)
XYZxyz(63.0060, 78.5388, 20.8554)
Luminance0.7854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF057 #6957F0
analogous
#F0B657 #DEF057 #92F057
triadic
#DEF057 #57DEF0 #F057DE
tetradic
#DEF057 #57F0B6 #6957F0 #F05792
square
#DEF057 #57F0B6 #6957F0 #F05792
split-complementary
#DEF057 #5792F0 #B657F0
monochromatic
#A8BC11 #D3EB1F #DEF057 #E9F58F #F4FAC7

Accessibility & contrast

On white

1.26
#DEF057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#DEF057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF057
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF057#FFFFFF#000000##000000
##DEF0571.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE443
Deuteranopia (green-blind)
#FFE662
Tritanopia (blue-blind)
#EBE3D1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #def057;
/* rgb */ color: rgb(222, 240, 87);
/* oklch */ color: oklch(91.4% 0.174 115.7);
Tailwind
colors: {
  custom: {
    50: '#ebf48d',
    500: '#def057',
    950: '#000000',
  },
}
SCSS
$custom: #def057;
$custom-light: #ebf48d;
$custom-dark: #000000;
JSON
{
  "hex": "#def057",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 87
  },
  "hsl": {
    "h": 67.059,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.91391,
    "c": 0.17415,
    "h": 115.7
  },
  "luminance": 0.78538
}

Semantic roles & 50–950 ramp

primary
#DEF057
secondary
#4131BA
accent
#05E01F
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF057

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

Preview Lab → · Contrast checker → · Palette generator →

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