#FFEF9A#FFEF9A

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

Color values

HEX#FFEF9A
RGBrgb(255, 239, 154)
HSLhsl(50, 100%, 80%)
HSVhsv(50, 40%, 100%)
CMYKcmyk(0%, 6.3%, 39.6%, 0%)
CIE-LABlab(94.02, -6.24, 43.04)
CIE-LCHlch(94.02, 43.49, 98.25°)
OKLaboklab(94.63% -0.0164 0.1053)
OKLCHoklch(94.63% 0.107 98.9)
XYZxyz(77.9408, 85.3285, 42.9300)
Luminance0.8533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF9A #9AAAFF
analogous
#FFBC9A #FFEF9A #DCFF9A
triadic
#FFEF9A #9AFFEF #EF9AFF
tetradic
#FFEF9A #9AFFBC #9AAAFF #FF9ADC
square
#FFEF9A #9AFFBC #9AAAFF #FF9ADC
split-complementary
#FFEF9A #9ADCFF #BC9AFF
monochromatic
#FFDC20 #FFE55D #FFEF9A #FFF9D7 #FFFAE0

Accessibility & contrast

On white

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

On black

18.07
#FFEF9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF9A
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF9A#FFFFFF#000000##000000
##FFEF9A1.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffef9a;
/* rgb */ color: rgb(255, 239, 154);
/* oklch */ color: oklch(94.6% 0.107 98.9);
Tailwind
colors: {
  custom: {
    50: '#fff4b9',
    500: '#ffef9a',
    950: '#000000',
  },
}
SCSS
$custom: #ffef9a;
$custom-light: #fff4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef9a",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 154
  },
  "hsl": {
    "h": 50.495,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.94633,
    "c": 0.10657,
    "h": 98.9
  },
  "luminance": 0.85326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFEF9A

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

Preview Lab → · Contrast checker → · Palette generator →

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