#EAEC8F#EAEC8F

#EAEC8F is a very light, moderate yellow. Relative luminance 0.795; OKLCH L 92.1% C 0.116 H 109.5°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#EAEC8F
RGBrgb(234, 236, 143)
HSLhsl(61, 71%, 74%)
HSVhsv(61, 39%, 93%)
CMYKcmyk(0.8%, 0%, 39.4%, 7.5%)
CIE-LABlab(91.45, -14.00, 44.82)
CIE-LCHlch(91.45, 46.96, 107.35°)
OKLaboklab(92.14% -0.0387 0.109)
OKLCHoklch(92.14% 0.116 109.5)
XYZxyz(68.8860, 79.4678, 37.6913)
Luminance0.7947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAEC8F #918FEC
analogous
#ECC08F #EAEC8F #BCEC8F
triadic
#EAEC8F #8FEAEC #EC8FEA
tetradic
#EAEC8F #8FECC0 #918FEC #EC8FBC
square
#EAEC8F #8FECC0 #918FEC #EC8FBC
split-complementary
#EAEC8F #8FBCEC #C08FEC
monochromatic
#D6DA26 #E0E35B #EAEC8F #F4F5C3 #FAFBE5

Accessibility & contrast

On white

1.24
#EAEC8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.89
#EAEC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAEC8F
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAEC8F#FFFFFF#000000##000000
##EAEC8F1.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE588
Deuteranopia (green-blind)
#FBE893
Tritanopia (blue-blind)
#F6E2D5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #eaec8f;
/* rgb */ color: rgb(234, 236, 143);
/* oklch */ color: oklch(92.1% 0.116 109.5);
Tailwind
colors: {
  custom: {
    50: '#f2f2b1',
    500: '#eaec8f',
    950: '#000000',
  },
}
SCSS
$custom: #eaec8f;
$custom-light: #f2f2b1;
$custom-dark: #000000;
JSON
{
  "hex": "#eaec8f",
  "rgb": {
    "r": 234,
    "g": 236,
    "b": 143
  },
  "hsl": {
    "h": 61.29,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.92135,
    "c": 0.11564,
    "h": 109.5
  },
  "luminance": 0.79467
}

Semantic roles & 50–950 ramp

primary
#EAEC8F
secondary
#5B58C7
accent
#12D317
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EAEC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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