#DEF258#DEF258

#DEF258 is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 91.8% C 0.176 H 116.3°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#DEF258
RGBrgb(222, 242, 88)
HSLhsl(68, 86%, 65%)
HSVhsv(68, 64%, 95%)
CMYKcmyk(8.3%, 0%, 63.6%, 5.1%)
CIE-LABlab(91.57, -26.23, 69.42)
CIE-LCHlch(91.57, 74.21, 110.70°)
OKLaboklab(91.83% -0.0778 0.1575)
OKLCHoklch(91.83% 0.176 116.3)
XYZxyz(63.6392, 79.7393, 21.2694)
Luminance0.7974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF258 #6C58F2
analogous
#F2B958 #DEF258 #91F258
triadic
#DEF258 #58DEF2 #F258DE
tetradic
#DEF258 #58F2B9 #6C58F2 #F25891
square
#DEF258 #58F2B9 #6C58F2 #F25891
split-complementary
#DEF258 #5891F2 #B958F2
monochromatic
#AAC10F #D3EE1F #DEF258 #E9F691 #F4FBCA

Accessibility & contrast

On white

1.24
#DEF258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#DEF258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF258
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF258#FFFFFF#000000##000000
##DEF2581.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE644
Deuteranopia (green-blind)
#FFE863
Tritanopia (blue-blind)
#EBE5D2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def258;
/* rgb */ color: rgb(222, 242, 88);
/* oklch */ color: oklch(91.8% 0.176 116.3);
Tailwind
colors: {
  custom: {
    50: '#ebf68e',
    500: '#def258',
    950: '#000000',
  },
}
SCSS
$custom: #def258;
$custom-light: #ebf68e;
$custom-dark: #000000;
JSON
{
  "hex": "#def258",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 67.792,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.91828,
    "c": 0.17565,
    "h": 116.3
  },
  "luminance": 0.79738
}

Semantic roles & 50–950 ramp

primary
#DEF258
secondary
#4230BE
accent
#03E220
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF258

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

Preview Lab → · Contrast checker → · Palette generator →

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