#EAF56F#EAF56F

#EAF56F is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.6% C 0.157 H 113.3°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#EAF56F
RGBrgb(234, 245, 111)
HSLhsl(65, 87%, 70%)
HSVhsv(65, 55%, 96%)
CMYKcmyk(4.5%, 0%, 54.7%, 3.9%)
CIE-LABlab(93.43, -21.31, 62.12)
CIE-LCHlch(93.43, 65.68, 108.93°)
OKLaboklab(93.6% -0.0624 0.1446)
OKLCHoklch(93.6% 0.157 113.3)
XYZxyz(69.4548, 83.9462, 27.5803)
Luminance0.8395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF56F #7A6FF5
analogous
#F5BD6F #EAF56F #A7F56F
triadic
#EAF56F #6FEAF5 #F56FEA
tetradic
#EAF56F #6FF5BD #7A6FF5 #F56FA7
square
#EAF56F #6FF5BD #7A6FF5 #F56FA7
split-complementary
#EAF56F #6FA7F5 #BD6FF5
monochromatic
#CADA0F #E2F136 #EAF56F #F2F9A8 #FBFDE1

Accessibility & contrast

On white

1.18
#EAF56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.79
#EAF56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF56F
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF56F#FFFFFF#000000##000000
##EAF56F1.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB61
Deuteranopia (green-blind)
#FFEE77
Tritanopia (blue-blind)
#F8E8D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #eaf56f;
/* rgb */ color: rgb(234, 245, 111);
/* oklch */ color: oklch(93.6% 0.157 113.3);
Tailwind
colors: {
  custom: {
    50: '#f3f89c',
    500: '#eaf56f',
    950: '#000000',
  },
}
SCSS
$custom: #eaf56f;
$custom-light: #f3f89c;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf56f",
  "rgb": {
    "r": 234,
    "g": 245,
    "b": 111
  },
  "hsl": {
    "h": 64.925,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.93596,
    "c": 0.15747,
    "h": 113.3
  },
  "luminance": 0.83945
}

Semantic roles & 50–950 ramp

primary
#EAF56F
secondary
#4639CF
accent
#02E414
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EAF56F

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

Preview Lab → · Contrast checker → · Palette generator →

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