#EAEF5C#EAEF5C

#EAEF5C is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.2% C 0.166 H 111.1°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#EAEF5C
RGBrgb(234, 239, 92)
HSLhsl(62, 82%, 65%)
HSVhsv(62, 62%, 94%)
CMYKcmyk(2.1%, 0%, 61.5%, 6.3%)
CIE-LABlab(91.68, -19.76, 68.22)
CIE-LCHlch(91.68, 71.02, 106.16°)
OKLaboklab(92.15% -0.0599 0.1552)
OKLCHoklch(92.15% 0.166 111.1)
XYZxyz(66.7319, 79.9997, 22.0494)
Luminance0.8000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAEF5C #615CEF
analogous
#EFAB5C #EAEF5C #A0EF5C
triadic
#EAEF5C #5CEAEF #EF5CEA
tetradic
#EAEF5C #5CEFAB #615CEF #EF5CA0
square
#EAEF5C #5CEFAB #615CEF #EF5CA0
split-complementary
#EAEF5C #5CA0EF #AB5CEF
monochromatic
#B8BE13 #E3EA24 #EAEF5C #F1F494 #F8FACB

Accessibility & contrast

On white

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

On black

17.00
#EAEF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAEF5C
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAEF5C#FFFFFF#000000##000000
##EAEF5C1.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE54A
Deuteranopia (green-blind)
#FFE965
Tritanopia (blue-blind)
#F9E1D0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #eaef5c;
/* rgb */ color: rgb(234, 239, 92);
/* oklch */ color: oklch(92.2% 0.166 111.1);
Tailwind
colors: {
  custom: {
    50: '#f4f490',
    500: '#eaef5c',
    950: '#000000',
  },
}
SCSS
$custom: #eaef5c;
$custom-light: #f4f490;
$custom-dark: #000000;
JSON
{
  "hex": "#eaef5c",
  "rgb": {
    "r": 234,
    "g": 239,
    "b": 92
  },
  "hsl": {
    "h": 62.041,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.9215,
    "c": 0.1664,
    "h": 111.1
  },
  "luminance": 0.79998
}

Semantic roles & 50–950 ramp

primary
#EAEF5C
secondary
#3833BC
accent
#07DF0E
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #EAEF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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