#EFE77F#EFE77F

#EFE77F is a very light, vivid yellow. Relative luminance 0.770; OKLCH L 91.3% C 0.126 H 104.7°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#EFE77F
RGBrgb(239, 231, 127)
HSLhsl(56, 78%, 72%)
HSVhsv(56, 47%, 94%)
CMYKcmyk(0%, 3.3%, 46.9%, 6.3%)
CIE-LABlab(90.34, -11.15, 51.26)
CIE-LCHlch(90.34, 52.46, 102.28°)
OKLaboklab(91.28% -0.0321 0.1223)
OKLCHoklch(91.28% 0.126 104.7)
XYZxyz(68.0049, 77.0368, 31.3619)
Luminance0.7703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE77F #7F87EF
analogous
#EFAF7F #EFE77F #BFEF7F
triadic
#EFE77F #7FEFE7 #E77FEF
tetradic
#EFE77F #7FEFAF #7F87EF #EF7FBF
square
#EFE77F #7FEFAF #7F87EF #EF7FBF
split-complementary
#EFE77F #7FBFEF #AF7FEF
monochromatic
#D9CB1B #E8DD49 #EFE77F #F6F1B5 #FCFAE4

Accessibility & contrast

On white

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

On black

16.41
#EFE77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE77F
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE77F#FFFFFF#000000##000000
##EFE77F1.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E076
Deuteranopia (green-blind)
#FAE684
Tritanopia (blue-blind)
#FDDBCF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #efe77f;
/* rgb */ color: rgb(239, 231, 127);
/* oklch */ color: oklch(91.3% 0.126 104.7);
Tailwind
colors: {
  custom: {
    50: '#f6eea6',
    500: '#efe77f',
    950: '#000000',
  },
}
SCSS
$custom: #efe77f;
$custom-light: #f6eea6;
$custom-dark: #000000;
JSON
{
  "hex": "#efe77f",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 127
  },
  "hsl": {
    "h": 55.714,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91284,
    "c": 0.12648,
    "h": 104.7
  },
  "luminance": 0.77035
}

Semantic roles & 50–950 ramp

primary
#EFE77F
secondary
#4952C9
accent
#1ADA0B
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EFE77F

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

Preview Lab → · Contrast checker → · Palette generator →

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