#EFEC87#EFEC87

#EFEC87 is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.4% C 0.124 H 107.1°. Best body text is #000000 at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#EFEC87
RGBrgb(239, 236, 135)
HSLhsl(58, 76%, 73%)
HSVhsv(58, 44%, 94%)
CMYKcmyk(0%, 1.3%, 43.5%, 6.3%)
CIE-LABlab(91.73, -12.88, 49.14)
CIE-LCHlch(91.73, 50.80, 104.68°)
OKLaboklab(92.42% -0.0363 0.1182)
OKLCHoklch(92.42% 0.124 107.1)
XYZxyz(69.9666, 80.0926, 34.6907)
Luminance0.8009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEC87 #878AEF
analogous
#EFB887 #EFEC87 #BEEF87
triadic
#EFEC87 #87EFEC #EC87EF
tetradic
#EFEC87 #87EFB8 #878AEF #EF87BE
square
#EFEC87 #87EFB8 #878AEF #EF87BE
split-complementary
#EFEC87 #87BEEF #B887EF
monochromatic
#DED81E #E8E351 #EFEC87 #F6F5BD #FBFBE4

Accessibility & contrast

On white

1.23
#EFEC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.02
#EFEC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEC87
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEC87#FFFFFF#000000##000000
##EFEC871.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE57F
Deuteranopia (green-blind)
#FDE98C
Tritanopia (blue-blind)
#FCE0D4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #efec87;
/* rgb */ color: rgb(239, 236, 135);
/* oklch */ color: oklch(92.4% 0.124 107.1);
Tailwind
colors: {
  custom: {
    50: '#f6f2ac',
    500: '#efec87',
    950: '#000000',
  },
}
SCSS
$custom: #efec87;
$custom-light: #f6f2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#efec87",
  "rgb": {
    "r": 239,
    "g": 236,
    "b": 135
  },
  "hsl": {
    "h": 58.269,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92419,
    "c": 0.12363,
    "h": 107.1
  },
  "luminance": 0.80091
}

Semantic roles & 50–950 ramp

primary
#EFEC87
secondary
#5054CA
accent
#13D90D
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EFEC87

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

Preview Lab → · Contrast checker → · Palette generator →

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