#EAF158#EAF158

#EAF158 is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 92.5% C 0.171 H 111.8°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#EAF158
RGBrgb(234, 241, 88)
HSLhsl(63, 85%, 65%)
HSVhsv(63, 63%, 95%)
CMYKcmyk(2.9%, 0%, 63.5%, 5.5%)
CIE-LABlab(92.18, -20.97, 70.33)
CIE-LCHlch(92.18, 73.39, 106.61°)
OKLaboklab(92.54% -0.0637 0.1591)
OKLCHoklch(92.54% 0.171 111.8)
XYZxyz(67.1504, 81.1091, 21.3489)
Luminance0.8111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF158 #5F58F1
analogous
#F1AC58 #EAF158 #9EF158
triadic
#EAF158 #58EAF1 #F158EA
tetradic
#EAF158 #58F1AC #5F58F1 #F1589E
square
#EAF158 #58F1AC #5F58F1 #F1589E
split-complementary
#EAF158 #589EF1 #AC58F1
monochromatic
#B7BF10 #E3EC20 #EAF158 #F1F690 #F8FAC9

Accessibility & contrast

On white

1.22
#EAF158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#EAF158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF158
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF158#FFFFFF#000000##000000
##EAF1581.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE744
Deuteranopia (green-blind)
#FFEA62
Tritanopia (blue-blind)
#F9E3D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #eaf158;
/* rgb */ color: rgb(234, 241, 88);
/* oklch */ color: oklch(92.5% 0.171 111.8);
Tailwind
colors: {
  custom: {
    50: '#f4f58e',
    500: '#eaf158',
    950: '#000000',
  },
}
SCSS
$custom: #eaf158;
$custom-light: #f4f58e;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf158",
  "rgb": {
    "r": 234,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 62.745,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.92536,
    "c": 0.17141,
    "h": 111.8
  },
  "luminance": 0.81108
}

Semantic roles & 50–950 ramp

primary
#EAF158
secondary
#3730BD
accent
#05E10F
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EAF158

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

Preview Lab → · Contrast checker → · Palette generator →

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