#EAF154#EAF154

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

Color values

HEX#EAF154
RGBrgb(234, 241, 84)
HSLhsl(63, 85%, 64%)
HSVhsv(63, 65%, 95%)
CMYKcmyk(2.9%, 0%, 65.1%, 5.5%)
CIE-LABlab(92.15, -21.21, 71.84)
CIE-LCHlch(92.15, 74.90, 106.45°)
OKLaboklab(92.5% -0.0648 0.1617)
OKLCHoklch(92.5% 0.174 111.8)
XYZxyz(66.9892, 81.0447, 20.5001)
Luminance0.8104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF154 #5B54F1
analogous
#F1A954 #EAF154 #9BF154
triadic
#EAF154 #54EAF1 #F154EA
tetradic
#EAF154 #54F1A9 #5B54F1 #F1549B
square
#EAF154 #54F1A9 #5B54F1 #F1549B
split-complementary
#EAF154 #549BF1 #A954F1
monochromatic
#B4BB0F #E3EC1B #EAF154 #F1F68D #F8FAC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EAF154#FFFFFF#000000##000000
##EAF1541.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)
#FFE63E
Deuteranopia (green-blind)
#FFEA5F
Tritanopia (blue-blind)
#F9E3D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #eaf154;
/* rgb */ color: rgb(234, 241, 84);
/* oklch */ color: oklch(92.5% 0.174 111.8);
Tailwind
colors: {
  custom: {
    50: '#f4f58c',
    500: '#eaf154',
    950: '#000000',
  },
}
SCSS
$custom: #eaf154;
$custom-light: #f4f58c;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf154",
  "rgb": {
    "r": 234,
    "g": 241,
    "b": 84
  },
  "hsl": {
    "h": 62.675,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.92504,
    "c": 0.17421,
    "h": 111.8
  },
  "luminance": 0.81043
}

Semantic roles & 50–950 ramp

primary
#EAF154
secondary
#362FBA
accent
#04E10E
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EAF154

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

Preview Lab → · Contrast checker → · Palette generator →

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