#EAF258#EAF258

#EAF258 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 92.7% C 0.172 H 112.2°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#EAF258
RGBrgb(234, 242, 88)
HSLhsl(63, 86%, 65%)
HSVhsv(63, 64%, 95%)
CMYKcmyk(3.3%, 0%, 63.6%, 5.1%)
CIE-LABlab(92.44, -21.45, 70.60)
CIE-LCHlch(92.44, 73.79, 106.90°)
OKLaboklab(92.75% -0.0651 0.1597)
OKLCHoklch(92.75% 0.172 112.2)
XYZxyz(67.4472, 81.7028, 21.4479)
Luminance0.8170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF258 #6058F2
analogous
#F2AD58 #EAF258 #9DF258
triadic
#EAF258 #58EAF2 #F258EA
tetradic
#EAF258 #58F2AD #6058F2 #F2589D
square
#EAF258 #58F2AD #6058F2 #F2589D
split-complementary
#EAF258 #589DF2 #AD58F2
monochromatic
#B7C10F #E3EE1F #EAF258 #F1F691 #F8FBCA

Accessibility & contrast

On white

1.21
#EAF258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.34
#EAF258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF258
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF258#FFFFFF#000000##000000
##EAF2581.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE743
Deuteranopia (green-blind)
#FFEB62
Tritanopia (blue-blind)
#F9E4D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #eaf258;
/* rgb */ color: rgb(234, 242, 88);
/* oklch */ color: oklch(92.7% 0.172 112.2);
Tailwind
colors: {
  custom: {
    50: '#f4f68e',
    500: '#eaf258',
    950: '#000000',
  },
}
SCSS
$custom: #eaf258;
$custom-light: #f4f68e;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf258",
  "rgb": {
    "r": 234,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 63.117,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.92747,
    "c": 0.17245,
    "h": 112.2
  },
  "luminance": 0.81701
}

Semantic roles & 50–950 ramp

primary
#EAF258
secondary
#3730BE
accent
#03E20F
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EAF258

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

Preview Lab → · Contrast checker → · Palette generator →

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