#EAF27F#EAF27F

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

Color values

HEX#EAF27F
RGBrgb(234, 242, 127)
HSLhsl(64, 82%, 72%)
HSVhsv(64, 48%, 95%)
CMYKcmyk(3.3%, 0%, 47.5%, 5.1%)
CIE-LABlab(92.81, -18.51, 54.16)
CIE-LCHlch(92.81, 57.23, 108.87°)
OKLaboklab(93.16% -0.0529 0.1288)
OKLCHoklch(93.16% 0.139 112.3)
XYZxyz(69.5158, 82.5302, 32.3425)
Luminance0.8253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF27F #877FF2
analogous
#F2C17F #EAF27F #B1F27F
triadic
#EAF27F #7FEAF2 #F27FEA
tetradic
#EAF27F #7FF2C1 #877FF2 #F27FB1
square
#EAF27F #7FF2C1 #877FF2 #F27FB1
split-complementary
#EAF27F #7FB1F2 #C17FF2
monochromatic
#D2E017 #E1EC47 #EAF27F #F3F8B7 #FAFCE3

Accessibility & contrast

On white

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

On black

17.51
#EAF27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF27F
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF27F#FFFFFF#000000##000000
##EAF27F1.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE975
Deuteranopia (green-blind)
#FFEC85
Tritanopia (blue-blind)
#F7E6D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #eaf27f;
/* rgb */ color: rgb(234, 242, 127);
/* oklch */ color: oklch(93.2% 0.139 112.3);
Tailwind
colors: {
  custom: {
    50: '#f3f6a6',
    500: '#eaf27f',
    950: '#000000',
  },
}
SCSS
$custom: #eaf27f;
$custom-light: #f3f6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf27f",
  "rgb": {
    "r": 234,
    "g": 242,
    "b": 127
  },
  "hsl": {
    "h": 64.174,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.93156,
    "c": 0.13921,
    "h": 112.3
  },
  "luminance": 0.82529
}

Semantic roles & 50–950 ramp

primary
#EAF27F
secondary
#5148CD
accent
#08DE16
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#171710
muted
#858580

Preview Lab

Preview with #EAF27F

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

Preview Lab → · Contrast checker → · Palette generator →

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