#EFEC7A#EFEC7A

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

Color values

HEX#EFEC7A
RGBrgb(239, 236, 122)
HSLhsl(58, 79%, 71%)
HSVhsv(58, 49%, 94%)
CMYKcmyk(0%, 1.3%, 49%, 6.3%)
CIE-LABlab(91.57, -14.07, 55.09)
CIE-LCHlch(91.57, 56.86, 104.32°)
OKLaboklab(92.25% -0.041 0.1304)
OKLCHoklch(92.25% 0.137 107.4)
XYZxyz(69.1066, 79.7486, 30.1612)
Luminance0.7975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFEC7A #7A7DEF
analogous
#EFB27A #EFEC7A #B7EF7A
triadic
#EFEC7A #7AEFEC #EC7AEF
tetradic
#EFEC7A #7AEFB2 #7A7DEF #EF7AB7
square
#EFEC7A #7AEFB2 #7A7DEF #EF7AB7
split-complementary
#EFEC7A #7AB7EF #B27AEF
monochromatic
#D5D01A #E8E443 #EFEC7A #F6F4B1 #FCFBE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFEC7A#FFFFFF#000000##000000
##EFEC7A1.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)
#FCE470
Deuteranopia (green-blind)
#FEE980
Tritanopia (blue-blind)
#FDE0D2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #efec7a;
/* rgb */ color: rgb(239, 236, 122);
/* oklch */ color: oklch(92.2% 0.137 107.4);
Tailwind
colors: {
  custom: {
    50: '#f6f2a3',
    500: '#efec7a',
    950: '#000000',
  },
}
SCSS
$custom: #efec7a;
$custom-light: #f6f2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#efec7a",
  "rgb": {
    "r": 239,
    "g": 236,
    "b": 122
  },
  "hsl": {
    "h": 58.462,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92246,
    "c": 0.13664,
    "h": 107.4
  },
  "luminance": 0.79747
}

Semantic roles & 50–950 ramp

primary
#EFEC7A
secondary
#4448C9
accent
#10DB0B
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EFEC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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