#EAEC5F#EAEC5F

#EAEC5F is a very light, vivid yellow. Relative luminance 0.783; OKLCH L 91.5% C 0.161 H 110.0°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#EAEC5F
RGBrgb(234, 236, 95)
HSLhsl(61, 79%, 65%)
HSVhsv(61, 60%, 93%)
CMYKcmyk(0.8%, 0%, 59.7%, 7.5%)
CIE-LABlab(90.92, -18.12, 66.17)
CIE-LCHlch(90.92, 68.61, 105.31°)
OKLaboklab(91.55% -0.055 0.1513)
OKLCHoklch(91.55% 0.161 110)
XYZxyz(65.9946, 78.3113, 22.4634)
Luminance0.7831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAEC5F #615FEC
analogous
#ECA75F #EAEC5F #A4EC5F
triadic
#EAEC5F #5FEAEC #EC5FEA
tetradic
#EAEC5F #5FECA7 #615FEC #EC5FA4
square
#EAEC5F #5FECA7 #615FEC #EC5FA4
split-complementary
#EAEC5F #5FA4EC #A75FEC
monochromatic
#B8BA16 #E3E628 #EAEC5F #F1F296 #F8F9CC

Accessibility & contrast

On white

1.26
#EAEC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.66
#EAEC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAEC5F
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAEC5F#FFFFFF#000000##000000
##EAEC5F1.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE34E
Deuteranopia (green-blind)
#FFE768
Tritanopia (blue-blind)
#F9DECE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #eaec5f;
/* rgb */ color: rgb(234, 236, 95);
/* oklch */ color: oklch(91.5% 0.161 110.0);
Tailwind
colors: {
  custom: {
    50: '#f4f192',
    500: '#eaec5f',
    950: '#000000',
  },
}
SCSS
$custom: #eaec5f;
$custom-light: #f4f192;
$custom-dark: #000000;
JSON
{
  "hex": "#eaec5f",
  "rgb": {
    "r": 234,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 60.851,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.91548,
    "c": 0.16098,
    "h": 110
  },
  "luminance": 0.7831
}

Semantic roles & 50–950 ramp

primary
#EAEC5F
secondary
#3836BA
accent
#0ADB0D
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #EAEC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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