#EAF281#EAF281

#EAF281 is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.2% C 0.137 H 112.3°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#EAF281
RGBrgb(234, 242, 129)
HSLhsl(64, 81%, 73%)
HSVhsv(64, 47%, 95%)
CMYKcmyk(3.3%, 0%, 46.7%, 5.1%)
CIE-LABlab(92.83, -18.33, 53.25)
CIE-LCHlch(92.83, 56.31, 108.99°)
OKLaboklab(93.18% -0.0522 0.1269)
OKLCHoklch(93.18% 0.137 112.3)
XYZxyz(69.6474, 82.5829, 33.0358)
Luminance0.8258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF281 #8981F2
analogous
#F2C281 #EAF281 #B1F281
triadic
#EAF281 #81EAF2 #F281EA
tetradic
#EAF281 #81F2C2 #8981F2 #F281B1
square
#EAF281 #81F2C2 #8981F2 #F281B1
split-complementary
#EAF281 #81B1F2 #C281F2
monochromatic
#D3E117 #E1EC4A #EAF281 #F3F8B8 #FAFCE3

Accessibility & contrast

On white

1.20
#EAF281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.52
#EAF281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF281
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF281#FFFFFF#000000##000000
##EAF2811.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE977
Deuteranopia (green-blind)
#FFEC87
Tritanopia (blue-blind)
#F6E6D8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #eaf281;
/* rgb */ color: rgb(234, 242, 129);
/* oklch */ color: oklch(93.2% 0.137 112.3);
Tailwind
colors: {
  custom: {
    50: '#f2f6a8',
    500: '#eaf281',
    950: '#000000',
  },
}
SCSS
$custom: #eaf281;
$custom-light: #f2f6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf281",
  "rgb": {
    "r": 234,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 64.248,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93182,
    "c": 0.13724,
    "h": 112.3
  },
  "luminance": 0.82582
}

Semantic roles & 50–950 ramp

primary
#EAF281
secondary
#534ACD
accent
#08DE17
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #EAF281

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

Preview Lab → · Contrast checker → · Palette generator →

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