#FFEF77#FFEF77

#FFEF77 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 94.2% C 0.142 H 101.8°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#FFEF77
RGBrgb(255, 239, 119)
HSLhsl(53, 100%, 73%)
HSVhsv(53, 53%, 100%)
CMYKcmyk(0%, 6.3%, 53.3%, 0%)
CIE-LABlab(93.59, -9.44, 59.17)
CIE-LCHlch(93.59, 59.92, 99.07°)
OKLaboklab(94.15% -0.0289 0.1387)
OKLCHoklch(94.15% 0.142 101.8)
XYZxyz(75.4387, 84.3276, 29.7523)
Luminance0.8433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF77 #7787FF
analogous
#FFAB77 #FFEF77 #CBFF77
triadic
#FFEF77 #77FFEF #EF77FF
tetradic
#FFEF77 #77FFAB #7787FF #FF77CB
square
#FFEF77 #77FFAB #7787FF #FF77CB
split-complementary
#FFEF77 #77CBFF #AB77FF
monochromatic
#FCDE00 #FFE83A #FFEF77 #FFF6B4 #FFFBE0

Accessibility & contrast

On white

1.18
#FFEF77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#FFEF77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF77
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF77#FFFFFF#000000##000000
##FFEF771.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96C
Deuteranopia (green-blind)
#FFF07D
Tritanopia (blue-blind)
#FFE1D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffef77;
/* rgb */ color: rgb(255, 239, 119);
/* oklch */ color: oklch(94.2% 0.142 101.8);
Tailwind
colors: {
  custom: {
    50: '#fff4a1',
    500: '#ffef77',
    950: '#000000',
  },
}
SCSS
$custom: #ffef77;
$custom-light: #fff4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef77",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 119
  },
  "hsl": {
    "h": 52.941,
    "s": 100,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94151,
    "c": 0.14167,
    "h": 101.8
  },
  "luminance": 0.84325
}

Semantic roles & 50–950 ramp

primary
#FFEF77
secondary
#3D50DD
accent
#1BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFEF77

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

Preview Lab → · Contrast checker → · Palette generator →

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