#FFEF80#FFEF80

#FFEF80 is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.3% C 0.133 H 101.2°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#FFEF80
RGBrgb(255, 239, 128)
HSLhsl(52, 100%, 75%)
HSVhsv(52, 50%, 100%)
CMYKcmyk(0%, 6.3%, 49.8%, 0%)
CIE-LABlab(93.69, -8.71, 55.14)
CIE-LCHlch(93.69, 55.82, 98.98°)
OKLaboklab(94.26% -0.0259 0.1307)
OKLCHoklch(94.26% 0.133 101.2)
XYZxyz(76.0050, 84.5541, 32.7348)
Luminance0.8455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF80 #8090FF
analogous
#FFAF80 #FFEF80 #CFFF80
triadic
#FFEF80 #80FFEF #EF80FF
tetradic
#FFEF80 #80FFAF #8090FF #FF80CF
square
#FFEF80 #80FFAF #8090FF #FF80CF
split-complementary
#FFEF80 #80CFFF #AF80FF
monochromatic
#FFE006 #FFE743 #FFEF80 #FFF7BD #FFFBE0

Accessibility & contrast

On white

1.17
#FFEF80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.91
#FFEF80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF80
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF80#FFFFFF#000000##000000
##FFEF801.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE976
Deuteranopia (green-blind)
#FFF085
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffef80;
/* rgb */ color: rgb(255, 239, 128);
/* oklch */ color: oklch(94.3% 0.133 101.2);
Tailwind
colors: {
  custom: {
    50: '#fff4a7',
    500: '#ffef80',
    950: '#000000',
  },
}
SCSS
$custom: #ffef80;
$custom-light: #fff4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef80",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 128
  },
  "hsl": {
    "h": 52.441,
    "s": 100,
    "l": 75.098
  },
  "oklch": {
    "l": 0.94261,
    "c": 0.13327,
    "h": 101.2
  },
  "luminance": 0.84552
}

Semantic roles & 50–950 ramp

primary
#FFEF80
secondary
#4558DE
accent
#1DE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FFEF80

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

Preview Lab → · Contrast checker → · Palette generator →

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