#EAEF51#EAEF51

#EAEF51 is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.1% C 0.174 H 111.1°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#EAEF51
RGBrgb(234, 239, 81)
HSLhsl(62, 83%, 63%)
HSVhsv(62, 66%, 94%)
CMYKcmyk(2.1%, 0%, 66.1%, 6.3%)
CIE-LABlab(91.60, -20.41, 72.41)
CIE-LCHlch(91.60, 75.23, 105.74°)
OKLaboklab(92.06% -0.0628 0.1625)
OKLCHoklch(92.06% 0.174 111.1)
XYZxyz(66.2855, 79.8212, 19.6983)
Luminance0.7982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAEF51 #5651EF
analogous
#EFA551 #EAEF51 #9BEF51
triadic
#EAEF51 #51EAEF #EF51EA
tetradic
#EAEF51 #51EFA5 #5651EF #EF519B
square
#EAEF51 #51EFA5 #5651EF #EF519B
split-complementary
#EAEF51 #519BEF #A551EF
monochromatic
#B0B511 #E3EA19 #EAEF51 #F1F489 #F8F9C1

Accessibility & contrast

On white

1.24
#EAEF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.96
#EAEF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAEF51
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAEF51#FFFFFF#000000##000000
##EAEF511.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE53A
Deuteranopia (green-blind)
#FFE95C
Tritanopia (blue-blind)
#FAE1CF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #eaef51;
/* rgb */ color: rgb(234, 239, 81);
/* oklch */ color: oklch(92.1% 0.174 111.1);
Tailwind
colors: {
  custom: {
    50: '#f4f48a',
    500: '#eaef51',
    950: '#000000',
  },
}
SCSS
$custom: #eaef51;
$custom-light: #f4f48a;
$custom-dark: #000000;
JSON
{
  "hex": "#eaef51",
  "rgb": {
    "r": 234,
    "g": 239,
    "b": 81
  },
  "hsl": {
    "h": 61.899,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.9206,
    "c": 0.1742,
    "h": 111.1
  },
  "luminance": 0.7982
}

Semantic roles & 50–950 ramp

primary
#EAEF51
secondary
#3430B5
accent
#06E00D
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #EAEF51

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

Preview Lab → · Contrast checker → · Palette generator →

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