#EAF397#EAF397

#EAF397 is a very light, moderate yellow. Relative luminance 0.838; OKLCH L 93.7% C 0.115 H 113.2°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#EAF397
RGBrgb(234, 243, 151)
HSLhsl(66, 79%, 77%)
HSVhsv(66, 38%, 95%)
CMYKcmyk(3.7%, 0%, 37.9%, 4.7%)
CIE-LABlab(93.38, -16.57, 43.36)
CIE-LCHlch(93.38, 46.42, 110.91°)
OKLaboklab(93.71% -0.0454 0.106)
OKLCHoklch(93.71% 0.115 113.2)
XYZxyz(71.5688, 83.8289, 41.6825)
Luminance0.8383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAF397 #A097F3
analogous
#F3CE97 #EAF397 #BCF397
triadic
#EAF397 #97EAF3 #F397EA
tetradic
#EAF397 #97F3CE #A097F3 #F397BC
square
#EAF397 #97F3CE #A097F3 #F397BC
split-complementary
#EAF397 #97BCF3 #CE97F3
monochromatic
#D4E629 #DFED60 #EAF397 #F5F9CE #F9FCE4

Accessibility & contrast

On white

1.18
#EAF397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#EAF397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAF397
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAF397#FFFFFF#000000##000000
##EAF3971.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB90
Deuteranopia (green-blind)
#FFED9B
Tritanopia (blue-blind)
#F5E9DC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #eaf397;
/* rgb */ color: rgb(234, 243, 151);
/* oklch */ color: oklch(93.7% 0.115 113.2);
Tailwind
colors: {
  custom: {
    50: '#f2f7b7',
    500: '#eaf397',
    950: '#000000',
  },
}
SCSS
$custom: #eaf397;
$custom-light: #f2f7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#eaf397",
  "rgb": {
    "r": 234,
    "g": 243,
    "b": 151
  },
  "hsl": {
    "h": 65.87,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.93708,
    "c": 0.11536,
    "h": 113.2
  },
  "luminance": 0.83828
}

Semantic roles & 50–950 ramp

primary
#EAF397
secondary
#695DD1
accent
#0ADC1E
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EAF397

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

Preview Lab → · Contrast checker → · Palette generator →

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