#EFE79B#EFE79B

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

Color values

HEX#EFE79B
RGBrgb(239, 231, 155)
HSLhsl(54, 72%, 77%)
HSVhsv(54, 35%, 94%)
CMYKcmyk(0%, 3.3%, 35.1%, 6.3%)
CIE-LABlab(90.72, -8.28, 38.02)
CIE-LCHlch(90.72, 38.91, 102.28°)
OKLaboklab(91.71% -0.0216 0.0939)
OKLCHoklch(91.71% 0.096 103)
XYZxyz(70.0898, 77.8708, 42.3424)
Luminance0.7787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE79B #9BA3EF
analogous
#EFBD9B #EFE79B #CDEF9B
triadic
#EFE79B #9BEFE7 #E79BEF
tetradic
#EFE79B #9BEFBD #9BA3EF #EF9BCD
square
#EFE79B #9BEFBD #9BA3EF #EF9BCD
split-complementary
#EFE79B #9BCDEF #BD9BEF
monochromatic
#DECE31 #E7DA66 #EFE79B #F7F4D0 #FBF9E5

Accessibility & contrast

On white

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

On black

16.57
#EFE79B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE79B
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE79B#FFFFFF#000000##000000
##EFE79B1.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efe79b;
/* rgb */ color: rgb(239, 231, 155);
/* oklch */ color: oklch(91.7% 0.096 103.0);
Tailwind
colors: {
  custom: {
    50: '#f5eeb9',
    500: '#efe79b',
    950: '#000000',
  },
}
SCSS
$custom: #efe79b;
$custom-light: #f5eeb9;
$custom-dark: #000000;
JSON
{
  "hex": "#efe79b",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 155
  },
  "hsl": {
    "h": 54.286,
    "s": 72.414,
    "l": 77.255
  },
  "oklch": {
    "l": 0.91712,
    "c": 0.09632,
    "h": 103
  },
  "luminance": 0.77869
}

Semantic roles & 50–950 ramp

primary
#EFE79B
secondary
#626CCC
accent
#24D411
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EFE79B

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

Preview Lab → · Contrast checker → · Palette generator →

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