#EAF474#EAF474

#EAF474 is a very light, vivid yellow. Relative luminance 0.835; OKLCH L 93.4% C 0.152 H 113.0°. Best body text is #000000 at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#EAF474
RGBrgb(234, 244, 116)
HSLhsl(65, 85%, 71%)
HSVhsv(65, 52%, 96%)
CMYKcmyk(4.1%, 0%, 52.5%, 4.3%)
CIE-LABlab(93.21, -20.43, 59.66)
CIE-LCHlch(93.21, 63.06, 108.90°)
OKLaboklab(93.44% -0.0594 0.1398)
OKLCHoklch(93.44% 0.152 113)
XYZxyz(69.4361, 83.4560, 28.9704)
Luminance0.8346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF474 #7E74F4
analogous
#F4BE74 #EAF474 #AAF474
triadic
#EAF474 #74EAF4 #F474EA
tetradic
#EAF474 #74F4BE #7E74F4 #F474AA
square
#EAF474 #74F4BE #7E74F4 #F474AA
split-complementary
#EAF474 #74AAF4 #BE74F4
monochromatic
#CCDC11 #E1F03B #EAF474 #F3F8AD #FBFDE3

Accessibility & contrast

On white

1.19
#EAF474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.69
#EAF474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF474
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF474#FFFFFF#000000##000000
##EAF4741.001.1917.6917.69
#FFFFFF1.191.0021.0021.00
#00000017.6921.001.001.00
##00000017.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA67
Deuteranopia (green-blind)
#FFED7B
Tritanopia (blue-blind)
#F7E8D7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #eaf474;
/* rgb */ color: rgb(234, 244, 116);
/* oklch */ color: oklch(93.4% 0.152 113.0);
Tailwind
colors: {
  custom: {
    50: '#f3f79f',
    500: '#eaf474',
    950: '#000000',
  },
}
SCSS
$custom: #eaf474;
$custom-light: #f3f79f;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf474",
  "rgb": {
    "r": 234,
    "g": 244,
    "b": 116
  },
  "hsl": {
    "h": 64.688,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93441,
    "c": 0.15189,
    "h": 113
  },
  "luminance": 0.83455
}

Semantic roles & 50–950 ramp

primary
#EAF474
secondary
#493ECE
accent
#04E215
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF474

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

Preview Lab → · Contrast checker → · Palette generator →

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