#EAEF4B#EAEF4B

#EAEF4B is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.0% C 0.178 H 111.2°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#EAEF4B
RGBrgb(234, 239, 75)
HSLhsl(62, 84%, 62%)
HSVhsv(62, 69%, 94%)
CMYKcmyk(2.1%, 0%, 68.6%, 6.3%)
CIE-LABlab(91.57, -20.73, 74.56)
CIE-LCHlch(91.57, 77.38, 105.54°)
OKLaboklab(92.02% -0.0643 0.166)
OKLCHoklch(92.02% 0.178 111.2)
XYZxyz(66.0703, 79.7351, 18.5653)
Luminance0.7973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAEF4B #504BEF
analogous
#EFA24B #EAEF4B #98EF4B
triadic
#EAEF4B #4BEAEF #EF4BEA
tetradic
#EAEF4B #4BEFA2 #504BEF #EF4B98
square
#EAEF4B #4BEFA2 #504BEF #EF4B98
split-complementary
#EAEF4B #4B98EF #A24BEF
monochromatic
#ABB010 #E2E815 #EAEF4B #F1F483 #F7F9BB

Accessibility & contrast

On white

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

On black

16.95
#EAEF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAEF4B
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAEF4B#FFFFFF#000000##000000
##EAEF4B1.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE530
Deuteranopia (green-blind)
#FFE957
Tritanopia (blue-blind)
#FAE1CF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #eaef4b;
/* rgb */ color: rgb(234, 239, 75);
/* oklch */ color: oklch(92.0% 0.178 111.2);
Tailwind
colors: {
  custom: {
    50: '#f4f487',
    500: '#eaef4b',
    950: '#000000',
  },
}
SCSS
$custom: #eaef4b;
$custom-light: #f4f487;
$custom-dark: #000000;
JSON
{
  "hex": "#eaef4b",
  "rgb": {
    "r": 234,
    "g": 239,
    "b": 75
  },
  "hsl": {
    "h": 61.829,
    "s": 83.673,
    "l": 61.569
  },
  "oklch": {
    "l": 0.92017,
    "c": 0.17804,
    "h": 111.2
  },
  "luminance": 0.79733
}

Semantic roles & 50–950 ramp

primary
#EAEF4B
secondary
#322EB0
accent
#05E00C
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #EAEF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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