#EAF97C#EAF97C

#EAF97C is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.6% C 0.150 H 115.0°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#EAF97C
RGBrgb(234, 249, 124)
HSLhsl(67, 91%, 73%)
HSVhsv(67, 50%, 98%)
CMYKcmyk(6%, 0%, 50.2%, 2.4%)
CIE-LABlab(94.61, -22.15, 57.69)
CIE-LCHlch(94.61, 61.79, 111.00°)
OKLaboklab(94.59% -0.0635 0.1363)
OKLCHoklch(94.59% 0.15 115)
XYZxyz(71.4466, 86.7000, 32.0359)
Luminance0.8670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF97C #8B7CF9
analogous
#F9C97C #EAF97C #ABF97C
triadic
#EAF97C #7CEAF9 #F97CEA
tetradic
#EAF97C #7CF9C9 #8B7CF9 #F97CAB
square
#EAF97C #7CF9C9 #8B7CF9 #F97CAB
split-complementary
#EAF97C #7CABF9 #C97CF9
monochromatic
#D4F00B #E1F641 #EAF97C #F3FCB7 #FAFEE2

Accessibility & contrast

On white

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

On black

18.34
#EAF97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF97C
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF97C#FFFFFF#000000##000000
##EAF97C1.001.1518.3418.34
#FFFFFF1.151.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE70
Deuteranopia (green-blind)
#FFF183
Tritanopia (blue-blind)
#F6EDDD
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eaf97c;
/* rgb */ color: rgb(234, 249, 124);
/* oklch */ color: oklch(94.6% 0.150 115.0);
Tailwind
colors: {
  custom: {
    50: '#f3fba5',
    500: '#eaf97c',
    950: '#000000',
  },
}
SCSS
$custom: #eaf97c;
$custom-light: #f3fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf97c",
  "rgb": {
    "r": 234,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 67.2,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94585,
    "c": 0.15032,
    "h": 115
  },
  "luminance": 0.86699
}

Semantic roles & 50–950 ramp

primary
#EAF97C
secondary
#5544D6
accent
#00E61C
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EAF97C

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

Preview Lab → · Contrast checker → · Palette generator →

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