#EAF156#EAF156

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

Color values

HEX#EAF156
RGBrgb(234, 241, 86)
HSLhsl(63, 85%, 64%)
HSVhsv(63, 64%, 95%)
CMYKcmyk(2.9%, 0%, 64.3%, 5.5%)
CIE-LABlab(92.17, -21.09, 71.09)
CIE-LCHlch(92.17, 74.15, 106.52°)
OKLaboklab(92.52% -0.0642 0.1605)
OKLCHoklch(92.52% 0.173 111.8)
XYZxyz(67.0687, 81.0765, 20.9186)
Luminance0.8107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF156 #5D56F1
analogous
#F1AB56 #EAF156 #9DF156
triadic
#EAF156 #56EAF1 #F156EA
tetradic
#EAF156 #56F1AB #5D56F1 #F1569D
square
#EAF156 #56F1AB #5D56F1 #F1569D
split-complementary
#EAF156 #569DF1 #AB56F1
monochromatic
#B5BD10 #E3EC1D #EAF156 #F1F68F #F8FAC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EAF156#FFFFFF#000000##000000
##EAF1561.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)
#FFE641
Deuteranopia (green-blind)
#FFEA60
Tritanopia (blue-blind)
#F9E3D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #eaf156;
/* rgb */ color: rgb(234, 241, 86);
/* oklch */ color: oklch(92.5% 0.173 111.8);
Tailwind
colors: {
  custom: {
    50: '#f4f58d',
    500: '#eaf156',
    950: '#000000',
  },
}
SCSS
$custom: #eaf156;
$custom-light: #f4f58d;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf156",
  "rgb": {
    "r": 234,
    "g": 241,
    "b": 86
  },
  "hsl": {
    "h": 62.71,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.9252,
    "c": 0.17283,
    "h": 111.8
  },
  "luminance": 0.81075
}

Semantic roles & 50–950 ramp

primary
#EAF156
secondary
#3630BB
accent
#04E10E
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EAF156

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

Preview Lab → · Contrast checker → · Palette generator →

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