#EFE77C#EFE77C

#EFE77C is a very light, vivid yellow. Relative luminance 0.770; OKLCH L 91.2% C 0.129 H 104.9°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#EFE77C
RGBrgb(239, 231, 124)
HSLhsl(56, 78%, 71%)
HSVhsv(56, 48%, 94%)
CMYKcmyk(0%, 3.3%, 48.1%, 6.3%)
CIE-LABlab(90.30, -11.42, 52.64)
CIE-LCHlch(90.30, 53.86, 102.24°)
OKLaboklab(91.24% -0.0332 0.1251)
OKLCHoklch(91.24% 0.129 104.9)
XYZxyz(67.8123, 76.9598, 30.3475)
Luminance0.7696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE77C #7C84EF
analogous
#EFAD7C #EFE77C #BDEF7C
triadic
#EFE77C #7CEFE7 #E77CEF
tetradic
#EFE77C #7CEFAD #7C84EF #EF7CBD
square
#EFE77C #7CEFAD #7C84EF #EF7CBD
split-complementary
#EFE77C #7CBDEF #AD7CEF
monochromatic
#D6C91A #E8DD45 #EFE77C #F6F1B3 #FCFAE4

Accessibility & contrast

On white

1.28
#EFE77C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.39
#EFE77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE77C
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE77C#FFFFFF#000000##000000
##EFE77C1.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E073
Deuteranopia (green-blind)
#FAE681
Tritanopia (blue-blind)
#FDDBCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #efe77c;
/* rgb */ color: rgb(239, 231, 124);
/* oklch */ color: oklch(91.2% 0.129 104.9);
Tailwind
colors: {
  custom: {
    50: '#f6eea4',
    500: '#efe77c',
    950: '#000000',
  },
}
SCSS
$custom: #efe77c;
$custom-light: #f6eea4;
$custom-dark: #000000;
JSON
{
  "hex": "#efe77c",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 124
  },
  "hsl": {
    "h": 55.826,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91244,
    "c": 0.12947,
    "h": 104.9
  },
  "luminance": 0.76958
}

Semantic roles & 50–950 ramp

primary
#EFE77C
secondary
#464FC9
accent
#19DA0B
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EFE77C

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

Preview Lab → · Contrast checker → · Palette generator →

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