#EFEC9A#EFEC9A

#EFEC9A is a very light, moderate yellow. Relative luminance 0.807; OKLCH L 92.7% C 0.103 H 106.5°. Best body text is #000000 at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#EFEC9A
RGBrgb(239, 236, 154)
HSLhsl(58, 73%, 77%)
HSVhsv(58, 36%, 94%)
CMYKcmyk(0%, 1.3%, 35.6%, 6.3%)
CIE-LABlab(91.99, -10.88, 40.16)
CIE-LCHlch(91.99, 41.61, 105.16°)
OKLaboklab(92.71% -0.0292 0.0988)
OKLCHoklch(92.71% 0.103 106.5)
XYZxyz(71.4256, 80.6762, 42.3751)
Luminance0.8067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEC9A #9A9DEF
analogous
#EFC19A #EFEC9A #C8EF9A
triadic
#EFEC9A #9AEFEC #EC9AEF
tetradic
#EFEC9A #9AEFC1 #9A9DEF #EF9AC8
square
#EFEC9A #9AEFC1 #9A9DEF #EF9AC8
split-complementary
#EFEC9A #9AC8EF #C19AEF
monochromatic
#DED830 #E7E265 #EFEC9A #F7F6CF #FBFAE5

Accessibility & contrast

On white

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

On black

17.13
#EFEC9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFEC9A
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFEC9A#FFFFFF#000000##000000
##EFEC9A1.001.2317.1317.13
#FFFFFF1.231.0021.0021.00
#00000017.1321.001.001.00
##00000017.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E694
Deuteranopia (green-blind)
#FBEA9D
Tritanopia (blue-blind)
#FBE2D7
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #efec9a;
/* rgb */ color: rgb(239, 236, 154);
/* oklch */ color: oklch(92.7% 0.103 106.5);
Tailwind
colors: {
  custom: {
    50: '#f5f2b8',
    500: '#efec9a',
    950: '#000000',
  },
}
SCSS
$custom: #efec9a;
$custom-light: #f5f2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#efec9a",
  "rgb": {
    "r": 239,
    "g": 236,
    "b": 154
  },
  "hsl": {
    "h": 57.882,
    "s": 72.65,
    "l": 77.059
  },
  "oklch": {
    "l": 0.92711,
    "c": 0.10301,
    "h": 106.5
  },
  "luminance": 0.80675
}

Semantic roles & 50–950 ramp

primary
#EFEC9A
secondary
#6265CC
accent
#18D511
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EFEC9A

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

Preview Lab → · Contrast checker → · Palette generator →

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