#FFEF99#FFEF99

#FFEF99 is a very light, moderate yellow. Relative luminance 0.853; OKLCH L 94.6% C 0.108 H 99.0°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#FFEF99
RGBrgb(255, 239, 153)
HSLhsl(51, 100%, 80%)
HSVhsv(51, 40%, 100%)
CMYKcmyk(0%, 6.3%, 40%, 0%)
CIE-LABlab(94.01, -6.35, 43.52)
CIE-LCHlch(94.01, 43.98, 98.30°)
OKLaboklab(94.62% -0.0168 0.1063)
OKLCHoklch(94.62% 0.108 99)
XYZxyz(77.8579, 85.2953, 42.4932)
Luminance0.8529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF99 #99A9FF
analogous
#FFBC99 #FFEF99 #DCFF99
triadic
#FFEF99 #99FFEF #EF99FF
tetradic
#FFEF99 #99FFBC #99A9FF #FF99DC
square
#FFEF99 #99FFBC #99A9FF #FF99DC
split-complementary
#FFEF99 #99DCFF #BC99FF
monochromatic
#FFDC1F #FFE55C #FFEF99 #FFF9D6 #FFFAE0

Accessibility & contrast

On white

1.16
#FFEF99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.06
#FFEF99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF99
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF99#FFFFFF#000000##000000
##FFEF991.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA93
Deuteranopia (green-blind)
#FFF19C
Tritanopia (blue-blind)
#FFE4DA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ffef99;
/* rgb */ color: rgb(255, 239, 153);
/* oklch */ color: oklch(94.6% 0.108 99.0);
Tailwind
colors: {
  custom: {
    50: '#fff4b8',
    500: '#ffef99',
    950: '#000000',
  },
}
SCSS
$custom: #ffef99;
$custom-light: #fff4b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef99",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 153
  },
  "hsl": {
    "h": 50.588,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.94618,
    "c": 0.10765,
    "h": 99
  },
  "luminance": 0.85293
}

Semantic roles & 50–950 ramp

primary
#FFEF99
secondary
#5A70E2
accent
#24E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFEF99

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

Preview Lab → · Contrast checker → · Palette generator →

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