#FFEF8A#FFEF8A

#FFEF8A is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.4% C 0.123 H 100.4°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#FFEF8A
RGBrgb(255, 239, 138)
HSLhsl(52, 100%, 77%)
HSVhsv(52, 46%, 100%)
CMYKcmyk(0%, 6.3%, 45.9%, 0%)
CIE-LABlab(93.81, -7.82, 50.55)
CIE-LCHlch(93.81, 51.16, 98.80°)
OKLaboklab(94.39% -0.0224 0.1214)
OKLCHoklch(94.39% 0.123 100.4)
XYZxyz(76.6959, 84.8305, 36.3737)
Luminance0.8483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF8A #8A9AFF
analogous
#FFB58A #FFEF8A #D5FF8A
triadic
#FFEF8A #8AFFEF #EF8AFF
tetradic
#FFEF8A #8AFFB5 #8A9AFF #FF8AD5
square
#FFEF8A #8AFFB5 #8A9AFF #FF8AD5
split-complementary
#FFEF8A #8AD5FF #B58AFF
monochromatic
#FFDE10 #FFE74D #FFEF8A #FFF7C7 #FFFBE0

Accessibility & contrast

On white

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

On black

17.97
#FFEF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF8A
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF8A#FFFFFF#000000##000000
##FFEF8A1.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE982
Deuteranopia (green-blind)
#FFF08E
Tritanopia (blue-blind)
#FFE2D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffef8a;
/* rgb */ color: rgb(255, 239, 138);
/* oklch */ color: oklch(94.4% 0.123 100.4);
Tailwind
colors: {
  custom: {
    50: '#fff4ae',
    500: '#ffef8a',
    950: '#000000',
  },
}
SCSS
$custom: #ffef8a;
$custom-light: #fff4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef8a",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 138
  },
  "hsl": {
    "h": 51.795,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.94394,
    "c": 0.12339,
    "h": 100.4
  },
  "luminance": 0.84828
}

Semantic roles & 50–950 ramp

primary
#FFEF8A
secondary
#4E62E0
accent
#1FE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFEF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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