#EAF751#EAF751

#EAF751 is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 93.7% C 0.182 H 113.8°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#EAF751
RGBrgb(234, 247, 81)
HSLhsl(65, 91%, 64%)
HSVhsv(65, 67%, 97%)
CMYKcmyk(5.3%, 0%, 67.2%, 3.1%)
CIE-LABlab(93.71, -24.23, 74.54)
CIE-LCHlch(93.71, 78.38, 108.01°)
OKLaboklab(93.75% -0.0735 0.167)
OKLCHoklch(93.75% 0.182 113.8)
XYZxyz(68.6796, 84.6094, 20.4963)
Luminance0.8461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF751 #5E51F7
analogous
#F7B151 #EAF751 #97F751
triadic
#EAF751 #51EAF7 #F751EA
tetradic
#EAF751 #51F7B1 #5E51F7 #F75197
square
#EAF751 #51F7B1 #5E51F7 #F75197
split-complementary
#EAF751 #5197F7 #B151F7
monochromatic
#B6C509 #E3F416 #EAF751 #F1FA8C #F8FCC6

Accessibility & contrast

On white

1.17
#EAF751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.92
#EAF751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF751
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF751#FFFFFF#000000##000000
##EAF7511.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB37
Deuteranopia (green-blind)
#FFEF5D
Tritanopia (blue-blind)
#F9E9D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #eaf751;
/* rgb */ color: rgb(234, 247, 81);
/* oklch */ color: oklch(93.7% 0.182 113.8);
Tailwind
colors: {
  custom: {
    50: '#f4f98b',
    500: '#eaf751',
    950: '#000000',
  },
}
SCSS
$custom: #eaf751;
$custom-light: #f4f98b;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf751",
  "rgb": {
    "r": 234,
    "g": 247,
    "b": 81
  },
  "hsl": {
    "h": 64.699,
    "s": 91.209,
    "l": 64.314
  },
  "oklch": {
    "l": 0.93749,
    "c": 0.18243,
    "h": 113.8
  },
  "luminance": 0.84608
}

Semantic roles & 50–950 ramp

primary
#EAF751
secondary
#372BC2
accent
#00E612
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EAF751

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

Preview Lab → · Contrast checker → · Palette generator →

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