#EFE79C#EFE79C

#EFE79C is a very light, moderate yellow. Relative luminance 0.779; OKLCH L 91.7% C 0.095 H 102.9°. Best body text is #000000 at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#EFE79C
RGBrgb(239, 231, 156)
HSLhsl(54, 72%, 77%)
HSVhsv(54, 35%, 94%)
CMYKcmyk(0%, 3.3%, 34.7%, 6.3%)
CIE-LABlab(90.74, -8.16, 37.54)
CIE-LCHlch(90.74, 38.41, 102.27°)
OKLaboklab(91.73% -0.0212 0.0928)
OKLCHoklch(91.73% 0.095 102.9)
XYZxyz(70.1741, 77.9045, 42.7865)
Luminance0.7790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE79C #9CA4EF
analogous
#EFBE9C #EFE79C #CDEF9C
triadic
#EFE79C #9CEFE7 #E79CEF
tetradic
#EFE79C #9CEFBE #9CA4EF #EF9CCD
square
#EFE79C #9CEFBE #9CA4EF #EF9CCD
split-complementary
#EFE79C #9CCDEF #BE9CEF
monochromatic
#DECD33 #E6DA67 #EFE79C #F8F4D1 #FBF9E5

Accessibility & contrast

On white

1.27
#EFE79C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.58
#EFE79C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE79C
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE79C#FFFFFF#000000##000000
##EFE79C1.001.2716.5816.58
#FFFFFF1.271.0021.0021.00
#00000016.5821.001.001.00
##00000016.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E297
Deuteranopia (green-blind)
#F7E69F
Tritanopia (blue-blind)
#FBDDD4
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #efe79c;
/* rgb */ color: rgb(239, 231, 156);
/* oklch */ color: oklch(91.7% 0.095 102.9);
Tailwind
colors: {
  custom: {
    50: '#f5eeba',
    500: '#efe79c',
    950: '#000000',
  },
}
SCSS
$custom: #efe79c;
$custom-light: #f5eeba;
$custom-dark: #000000;
JSON
{
  "hex": "#efe79c",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 156
  },
  "hsl": {
    "h": 54.217,
    "s": 72.174,
    "l": 77.451
  },
  "oklch": {
    "l": 0.91729,
    "c": 0.09518,
    "h": 102.9
  },
  "luminance": 0.77903
}

Semantic roles & 50–950 ramp

primary
#EFE79C
secondary
#636DCC
accent
#24D411
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EFE79C

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

Preview Lab → · Contrast checker → · Palette generator →

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