#EAF56C#EAF56C

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

Color values

HEX#EAF56C
RGBrgb(234, 245, 108)
HSLhsl(65, 87%, 69%)
HSVhsv(65, 56%, 96%)
CMYKcmyk(4.5%, 0%, 55.9%, 3.9%)
CIE-LABlab(93.40, -21.54, 63.40)
CIE-LCHlch(93.40, 66.96, 108.77°)
OKLaboklab(93.56% -0.0633 0.147)
OKLCHoklch(93.56% 0.16 113.3)
XYZxyz(69.2924, 83.8812, 26.7249)
Luminance0.8388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF56C #776CF5
analogous
#F5BC6C #EAF56C #A5F56C
triadic
#EAF56C #6CEAF5 #F56CEA
tetradic
#EAF56C #6CF5BC #776CF5 #F56CA5
square
#EAF56C #6CF5BC #776CF5 #F56CA5
split-complementary
#EAF56C #6CA5F5 #BC6CF5
monochromatic
#C8D80F #E2F133 #EAF56C #F2F9A5 #FAFDDF

Accessibility & contrast

On white

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

On black

17.78
#EAF56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF56C
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF56C#FFFFFF#000000##000000
##EAF56C1.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eaf56c;
/* rgb */ color: rgb(234, 245, 108);
/* oklch */ color: oklch(93.6% 0.160 113.3);
Tailwind
colors: {
  custom: {
    50: '#f3f89a',
    500: '#eaf56c',
    950: '#000000',
  },
}
SCSS
$custom: #eaf56c;
$custom-light: #f3f89a;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf56c",
  "rgb": {
    "r": 234,
    "g": 245,
    "b": 108
  },
  "hsl": {
    "h": 64.818,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.93564,
    "c": 0.16004,
    "h": 113.3
  },
  "luminance": 0.8388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EAF56C

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

Preview Lab → · Contrast checker → · Palette generator →

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