#EEF397#EEF397

#EEF397 is a very light, moderate yellow. Relative luminance 0.845; OKLCH L 94.0% C 0.115 H 111.1°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#EEF397
RGBrgb(238, 243, 151)
HSLhsl(63, 79%, 77%)
HSVhsv(63, 38%, 95%)
CMYKcmyk(2.1%, 0%, 37.9%, 4.7%)
CIE-LABlab(93.67, -15.05, 43.80)
CIE-LCHlch(93.67, 46.31, 108.96°)
OKLaboklab(94.02% -0.0413 0.107)
OKLCHoklch(94.02% 0.115 111.1)
XYZxyz(72.8971, 84.5139, 41.7448)
Luminance0.8451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF397 #9C97F3
analogous
#F3CA97 #EEF397 #C0F397
triadic
#EEF397 #97EEF3 #F397EE
tetradic
#EEF397 #97F3CA #9C97F3 #F397C0
square
#EEF397 #97F3CA #9C97F3 #F397C0
split-complementary
#EEF397 #97C0F3 #CA97F3
monochromatic
#DCE629 #E5ED60 #EEF397 #F7F9CE #FBFCE4

Accessibility & contrast

On white

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

On black

17.90
#EEF397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF397
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF397#FFFFFF#000000##000000
##EEF3971.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB90
Deuteranopia (green-blind)
#FFEE9B
Tritanopia (blue-blind)
#F9E9DC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #eef397;
/* rgb */ color: rgb(238, 243, 151);
/* oklch */ color: oklch(94.0% 0.115 111.1);
Tailwind
colors: {
  custom: {
    50: '#f5f7b7',
    500: '#eef397',
    950: '#000000',
  },
}
SCSS
$custom: #eef397;
$custom-light: #f5f7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#eef397",
  "rgb": {
    "r": 238,
    "g": 243,
    "b": 151
  },
  "hsl": {
    "h": 63.261,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.94018,
    "c": 0.11469,
    "h": 111.1
  },
  "luminance": 0.84513
}

Semantic roles & 50–950 ramp

primary
#EEF397
secondary
#645DD1
accent
#0ADC15
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EEF397

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

Preview Lab → · Contrast checker → · Palette generator →

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