#EFEC8A#EFEC8A

#EFEC8A is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.5% C 0.120 H 107.0°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#EFEC8A
RGBrgb(239, 236, 138)
HSLhsl(58, 76%, 74%)
HSVhsv(58, 42%, 94%)
CMYKcmyk(0%, 1.3%, 42.3%, 6.3%)
CIE-LABlab(91.76, -12.58, 47.74)
CIE-LCHlch(91.76, 49.37, 104.77°)
OKLaboklab(92.46% -0.0352 0.1152)
OKLCHoklch(92.46% 0.121 107)
XYZxyz(70.1808, 80.1783, 35.8188)
Luminance0.8018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEC8A #8A8DEF
analogous
#EFBA8A #EFEC8A #C0EF8A
triadic
#EFEC8A #8AEFEC #EC8AEF
tetradic
#EFEC8A #8AEFBA #8A8DEF #EF8AC0
square
#EFEC8A #8AEFBA #8A8DEF #EF8AC0
split-complementary
#EFEC8A #8AC0EF #BA8AEF
monochromatic
#E0DA1F #E8E354 #EFEC8A #F6F5C0 #FBFBE4

Accessibility & contrast

On white

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

On black

17.04
#EFEC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEC8A
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEC8A#FFFFFF#000000##000000
##EFEC8A1.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE582
Deuteranopia (green-blind)
#FDE98E
Tritanopia (blue-blind)
#FCE1D4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #efec8a;
/* rgb */ color: rgb(239, 236, 138);
/* oklch */ color: oklch(92.5% 0.120 107.0);
Tailwind
colors: {
  custom: {
    50: '#f6f2ae',
    500: '#efec8a',
    950: '#000000',
  },
}
SCSS
$custom: #efec8a;
$custom-light: #f6f2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#efec8a",
  "rgb": {
    "r": 239,
    "g": 236,
    "b": 138
  },
  "hsl": {
    "h": 58.218,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92462,
    "c": 0.1205,
    "h": 107
  },
  "luminance": 0.80177
}

Semantic roles & 50–950 ramp

primary
#EFEC8A
secondary
#5356CA
accent
#13D80D
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EFEC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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