#EAEF8A#EAEF8A

#EAEF8A is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 92.7% C 0.125 H 111.1°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#EAEF8A
RGBrgb(234, 239, 138)
HSLhsl(63, 76%, 74%)
HSVhsv(63, 42%, 94%)
CMYKcmyk(2.1%, 0%, 42.3%, 6.3%)
CIE-LABlab(92.16, -15.99, 48.15)
CIE-LCHlch(92.16, 50.73, 108.38°)
OKLaboklab(92.68% -0.0447 0.1162)
OKLCHoklch(92.68% 0.125 111.1)
XYZxyz(69.3866, 81.0616, 36.0311)
Luminance0.8106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAEF8A #8F8AEF
analogous
#EFC28A #EAEF8A #B8EF8A
triadic
#EAEF8A #8AEAEF #EF8AEA
tetradic
#EAEF8A #8AEFC2 #8F8AEF #EF8AB8
square
#EAEF8A #8AEFC2 #8F8AEF #EF8AB8
split-complementary
#EAEF8A #8AB8EF #C28AEF
monochromatic
#D6E01F #E0E854 #EAEF8A #F4F6C0 #FAFBE4

Accessibility & contrast

On white

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

On black

17.21
#EAEF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAEF8A
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAEF8A#FFFFFF#000000##000000
##EAEF8A1.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE782
Deuteranopia (green-blind)
#FEEA8F
Tritanopia (blue-blind)
#F6E4D7
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #eaef8a;
/* rgb */ color: rgb(234, 239, 138);
/* oklch */ color: oklch(92.7% 0.125 111.1);
Tailwind
colors: {
  custom: {
    50: '#f2f4ae',
    500: '#eaef8a',
    950: '#000000',
  },
}
SCSS
$custom: #eaef8a;
$custom-light: #f2f4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#eaef8a",
  "rgb": {
    "r": 234,
    "g": 239,
    "b": 138
  },
  "hsl": {
    "h": 62.97,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92682,
    "c": 0.12452,
    "h": 111.1
  },
  "luminance": 0.8106
}

Semantic roles & 50–950 ramp

primary
#EAEF8A
secondary
#5953CA
accent
#0DD817
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #EAEF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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