#EAF56B#EAF56B

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

Color values

HEX#EAF56B
RGBrgb(234, 245, 107)
HSLhsl(65, 87%, 69%)
HSVhsv(65, 56%, 96%)
CMYKcmyk(4.5%, 0%, 56.3%, 3.9%)
CIE-LABlab(93.39, -21.61, 63.82)
CIE-LCHlch(93.39, 67.38, 108.71°)
OKLaboklab(93.55% -0.0636 0.1478)
OKLCHoklch(93.55% 0.161 113.3)
XYZxyz(69.2395, 83.8600, 26.4462)
Luminance0.8386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF56B #766BF5
analogous
#F5BB6B #EAF56B #A5F56B
triadic
#EAF56B #6BEAF5 #F56BEA
tetradic
#EAF56B #6BF5BB #766BF5 #F56BA5
square
#EAF56B #6BF5BB #766BF5 #F56BA5
split-complementary
#EAF56B #6BA5F5 #BB6BF5
monochromatic
#C7D70F #E2F132 #EAF56B #F2F9A4 #FAFDDE

Accessibility & contrast

On white

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

On black

17.77
#EAF56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF56B
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF56B#FFFFFF#000000##000000
##EAF56B1.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5C
Deuteranopia (green-blind)
#FFEE73
Tritanopia (blue-blind)
#F8E8D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #eaf56b;
/* rgb */ color: rgb(234, 245, 107);
/* oklch */ color: oklch(93.6% 0.161 113.3);
Tailwind
colors: {
  custom: {
    50: '#f3f89a',
    500: '#eaf56b',
    950: '#000000',
  },
}
SCSS
$custom: #eaf56b;
$custom-light: #f3f89a;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf56b",
  "rgb": {
    "r": 234,
    "g": 245,
    "b": 107
  },
  "hsl": {
    "h": 64.783,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.93554,
    "c": 0.16089,
    "h": 113.3
  },
  "luminance": 0.83859
}

Semantic roles & 50–950 ramp

primary
#EAF56B
secondary
#4236CE
accent
#02E414
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #EAF56B

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

Preview Lab → · Contrast checker → · Palette generator →

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