#EAF979#EAF979

#EAF979 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.5% C 0.153 H 114.9°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#EAF979
RGBrgb(234, 249, 121)
HSLhsl(67, 91%, 73%)
HSVhsv(67, 51%, 98%)
CMYKcmyk(6%, 0%, 51.4%, 2.4%)
CIE-LABlab(94.58, -22.41, 59.01)
CIE-LCHlch(94.58, 63.12, 110.79°)
OKLaboklab(94.55% -0.0645 0.1389)
OKLCHoklch(94.55% 0.153 114.9)
XYZxyz(71.2597, 86.6253, 31.0519)
Luminance0.8662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF979 #8879F9
analogous
#F9C879 #EAF979 #AAF979
triadic
#EAF979 #79EAF9 #F979EA
tetradic
#EAF979 #79F9C8 #8879F9 #F979AA
square
#EAF979 #79F9C8 #8879F9 #F979AA
split-complementary
#EAF979 #79AAF9 #C879F9
monochromatic
#D2ED0B #E1F63E #EAF979 #F3FCB4 #FAFEE2

Accessibility & contrast

On white

1.15
#EAF979 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.32
#EAF979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF979
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF979#FFFFFF#000000##000000
##EAF9791.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6D
Deuteranopia (green-blind)
#FFF180
Tritanopia (blue-blind)
#F7EDDC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eaf979;
/* rgb */ color: rgb(234, 249, 121);
/* oklch */ color: oklch(94.5% 0.153 114.9);
Tailwind
colors: {
  custom: {
    50: '#f3fba3',
    500: '#eaf979',
    950: '#000000',
  },
}
SCSS
$custom: #eaf979;
$custom-light: #f3fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf979",
  "rgb": {
    "r": 234,
    "g": 249,
    "b": 121
  },
  "hsl": {
    "h": 67.031,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94549,
    "c": 0.1531,
    "h": 114.9
  },
  "luminance": 0.86624
}

Semantic roles & 50–950 ramp

primary
#EAF979
secondary
#5241D5
accent
#00E61B
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF979

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

Preview Lab → · Contrast checker → · Palette generator →

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