#EAEF8F#EAEF8F

#EAEF8F is a very light, moderate yellow. Relative luminance 0.812; OKLCH L 92.8% C 0.119 H 111.1°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#EAEF8F
RGBrgb(234, 239, 143)
HSLhsl(63, 75%, 75%)
HSVhsv(63, 40%, 94%)
CMYKcmyk(2.1%, 0%, 40.2%, 6.3%)
CIE-LABlab(92.22, -15.48, 45.81)
CIE-LCHlch(92.22, 48.35, 108.67°)
OKLaboklab(92.76% -0.0429 0.1112)
OKLCHoklch(92.76% 0.119 111.1)
XYZxyz(69.7570, 81.2098, 37.9816)
Luminance0.8121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAEF8F #948FEF
analogous
#EFC48F #EAEF8F #BAEF8F
triadic
#EAEF8F #8FEAEF #EF8FEA
tetradic
#EAEF8F #8FEFC4 #948FEF #EF8FBA
square
#EAEF8F #8FEFC4 #948FEF #EF8FBA
split-complementary
#EAEF8F #8FBAEF #C48FEF
monochromatic
#D6E024 #E0E759 #EAEF8F #F4F7C5 #FAFBE4

Accessibility & contrast

On white

1.22
#EAEF8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#EAEF8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAEF8F
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAEF8F#FFFFFF#000000##000000
##EAEF8F1.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE787
Deuteranopia (green-blind)
#FDEA93
Tritanopia (blue-blind)
#F6E4D8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #eaef8f;
/* rgb */ color: rgb(234, 239, 143);
/* oklch */ color: oklch(92.8% 0.119 111.1);
Tailwind
colors: {
  custom: {
    50: '#f2f4b1',
    500: '#eaef8f',
    950: '#000000',
  },
}
SCSS
$custom: #eaef8f;
$custom-light: #f2f4b1;
$custom-dark: #000000;
JSON
{
  "hex": "#eaef8f",
  "rgb": {
    "r": 234,
    "g": 239,
    "b": 143
  },
  "hsl": {
    "h": 63.125,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.92755,
    "c": 0.11919,
    "h": 111.1
  },
  "luminance": 0.81209
}

Semantic roles & 50–950 ramp

primary
#EAEF8F
secondary
#5D57CB
accent
#0ED719
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EAEF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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