#EAF151#EAF151

#EAF151 is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.5% C 0.176 H 111.8°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#EAF151
RGBrgb(234, 241, 81)
HSLhsl(63, 85%, 63%)
HSVhsv(63, 66%, 95%)
CMYKcmyk(2.9%, 0%, 66.4%, 5.5%)
CIE-LABlab(92.13, -21.37, 72.94)
CIE-LCHlch(92.13, 76.01, 106.33°)
OKLaboklab(92.48% -0.0655 0.1636)
OKLCHoklch(92.48% 0.176 111.8)
XYZxyz(66.8742, 80.9987, 19.8945)
Luminance0.8100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF151 #5851F1
analogous
#F1A851 #EAF151 #9AF151
triadic
#EAF151 #51EAF1 #F151EA
tetradic
#EAF151 #51F1A8 #5851F1 #F1519A
square
#EAF151 #51F1A8 #5851F1 #F1519A
split-complementary
#EAF151 #519AF1 #A851F1
monochromatic
#B1B90F #E3EC18 #EAF151 #F1F68A #F8FAC2

Accessibility & contrast

On white

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

On black

17.20
#EAF151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF151
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF151#FFFFFF#000000##000000
##EAF1511.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE639
Deuteranopia (green-blind)
#FFEA5C
Tritanopia (blue-blind)
#F9E3D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #eaf151;
/* rgb */ color: rgb(234, 241, 81);
/* oklch */ color: oklch(92.5% 0.176 111.8);
Tailwind
colors: {
  custom: {
    50: '#f4f58a',
    500: '#eaf151',
    950: '#000000',
  },
}
SCSS
$custom: #eaf151;
$custom-light: #f4f58a;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf151",
  "rgb": {
    "r": 234,
    "g": 241,
    "b": 81
  },
  "hsl": {
    "h": 62.625,
    "s": 85.106,
    "l": 63.137
  },
  "oklch": {
    "l": 0.92481,
    "c": 0.17623,
    "h": 111.8
  },
  "luminance": 0.80997
}

Semantic roles & 50–950 ramp

primary
#EAF151
secondary
#352FB8
accent
#04E20E
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #EAF151

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

Preview Lab → · Contrast checker → · Palette generator →

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