#EEF87B#EEF87B

#EEF87B is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.7% C 0.149 H 113.0°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#EEF87B
RGBrgb(238, 248, 123)
HSLhsl(65, 90%, 73%)
HSVhsv(65, 50%, 97%)
CMYKcmyk(4%, 0%, 50.4%, 2.7%)
CIE-LABlab(94.63, -20.21, 58.24)
CIE-LCHlch(94.63, 61.64, 109.14°)
OKLaboklab(94.67% -0.0583 0.1373)
OKLCHoklch(94.67% 0.149 113)
XYZxyz(72.4038, 86.7433, 31.6640)
Luminance0.8674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF87B #857BF8
analogous
#F8C37B #EEF87B #AFF87B
triadic
#EEF87B #7BEEF8 #F87BEE
tetradic
#EEF87B #7BF8C3 #857BF8 #F87BAF
square
#EEF87B #7BF8C3 #857BF8 #F87BAF
split-complementary
#EEF87B #7BAFF8 #C37BF8
monochromatic
#DAEC0D #E7F541 #EEF87B #F5FBB5 #FBFDE2

Accessibility & contrast

On white

1.14
#EEF87B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.35
#EEF87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF87B
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF87B#FFFFFF#000000##000000
##EEF87B1.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6F
Deuteranopia (green-blind)
#FFF182
Tritanopia (blue-blind)
#FBECDC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #eef87b;
/* rgb */ color: rgb(238, 248, 123);
/* oklch */ color: oklch(94.7% 0.149 113.0);
Tailwind
colors: {
  custom: {
    50: '#f6faa4',
    500: '#eef87b',
    950: '#000000',
  },
}
SCSS
$custom: #eef87b;
$custom-light: #f6faa4;
$custom-dark: #000000;
JSON
{
  "hex": "#eef87b",
  "rgb": {
    "r": 238,
    "g": 248,
    "b": 123
  },
  "hsl": {
    "h": 64.8,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94668,
    "c": 0.14916,
    "h": 113
  },
  "luminance": 0.86742
}

Semantic roles & 50–950 ramp

primary
#EEF87B
secondary
#4F43D4
accent
#00E612
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EEF87B

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

Preview Lab → · Contrast checker → · Palette generator →

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