#FFEF9F#FFEF9F

#FFEF9F is a very light, moderate yellow. Relative luminance 0.855; OKLCH L 94.7% C 0.101 H 98.3°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#FFEF9F
RGBrgb(255, 239, 159)
HSLhsl(50, 100%, 81%)
HSVhsv(50, 38%, 100%)
CMYKcmyk(0%, 6.3%, 37.6%, 0%)
CIE-LABlab(94.10, -5.71, 40.66)
CIE-LCHlch(94.10, 41.06, 97.99°)
OKLaboklab(94.72% -0.0145 0.1)
OKLCHoklch(94.72% 0.101 98.3)
XYZxyz(78.3659, 85.4985, 45.1690)
Luminance0.8550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF9F #9FAFFF
analogous
#FFBF9F #FFEF9F #DFFF9F
triadic
#FFEF9F #9FFFEF #EF9FFF
tetradic
#FFEF9F #9FFFBF #9FAFFF #FF9FDF
square
#FFEF9F #9FFFBF #9FAFFF #FF9FDF
split-complementary
#FFEF9F #9FDFFF #BF9FFF
monochromatic
#FFDB25 #FFE562 #FFEF9F #FFF9DC #FFFAE0

Accessibility & contrast

On white

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

On black

18.10
#FFEF9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF9F
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF9F#FFFFFF#000000##000000
##FFEF9F1.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEB99
Deuteranopia (green-blind)
#FFF1A2
Tritanopia (blue-blind)
#FFE4DB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ffef9f;
/* rgb */ color: rgb(255, 239, 159);
/* oklch */ color: oklch(94.7% 0.101 98.3);
Tailwind
colors: {
  custom: {
    50: '#fff4bc',
    500: '#ffef9f',
    950: '#000000',
  },
}
SCSS
$custom: #ffef9f;
$custom-light: #fff4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef9f",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 159
  },
  "hsl": {
    "h": 50,
    "s": 100,
    "l": 81.176
  },
  "oklch": {
    "l": 0.94715,
    "c": 0.10108,
    "h": 98.3
  },
  "luminance": 0.85496
}

Semantic roles & 50–950 ramp

primary
#FFEF9F
secondary
#5F75E3
accent
#26E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFEF9F

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

Preview Lab → · Contrast checker → · Palette generator →

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