#EFE77B#EFE77B

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

Color values

HEX#EFE77B
RGBrgb(239, 231, 123)
HSLhsl(56, 78%, 71%)
HSVhsv(56, 49%, 94%)
CMYKcmyk(0%, 3.3%, 48.5%, 6.3%)
CIE-LABlab(90.29, -11.51, 53.10)
CIE-LCHlch(90.29, 54.33, 102.23°)
OKLaboklab(91.23% -0.0336 0.1261)
OKLCHoklch(91.23% 0.13 104.9)
XYZxyz(67.7494, 76.9346, 30.0161)
Luminance0.7693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE77B #7B83EF
analogous
#EFAD7B #EFE77B #BDEF7B
triadic
#EFE77B #7BEFE7 #E77BEF
tetradic
#EFE77B #7BEFAD #7B83EF #EF7BBD
square
#EFE77B #7BEFAD #7B83EF #EF7BBD
split-complementary
#EFE77B #7BBDEF #AD7BEF
monochromatic
#D6C91A #E8DD44 #EFE77B #F6F1B2 #FCFAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFE77B#FFFFFF#000000##000000
##EFE77B1.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)
#F7E071
Deuteranopia (green-blind)
#FAE680
Tritanopia (blue-blind)
#FEDBCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #efe77b;
/* rgb */ color: rgb(239, 231, 123);
/* oklch */ color: oklch(91.2% 0.130 104.9);
Tailwind
colors: {
  custom: {
    50: '#f6eea3',
    500: '#efe77b',
    950: '#000000',
  },
}
SCSS
$custom: #efe77b;
$custom-light: #f6eea3;
$custom-dark: #000000;
JSON
{
  "hex": "#efe77b",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 123
  },
  "hsl": {
    "h": 55.862,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91231,
    "c": 0.13045,
    "h": 104.9
  },
  "luminance": 0.76933
}

Semantic roles & 50–950 ramp

primary
#EFE77B
secondary
#454EC9
accent
#19DB0B
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EFE77B

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

Preview Lab → · Contrast checker → · Palette generator →

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