#FFEF9E#FFEF9E

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

Color values

HEX#FFEF9E
RGBrgb(255, 239, 158)
HSLhsl(50, 100%, 81%)
HSVhsv(50, 38%, 100%)
CMYKcmyk(0%, 6.3%, 38%, 0%)
CIE-LABlab(94.08, -5.82, 41.14)
CIE-LCHlch(94.08, 41.55, 98.05°)
OKLaboklab(94.7% -0.0149 0.1011)
OKLCHoklch(94.7% 0.102 98.4)
XYZxyz(78.2795, 85.4639, 44.7138)
Luminance0.8546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF9E #9EAEFF
analogous
#FFBE9E #FFEF9E #DEFF9E
triadic
#FFEF9E #9EFFEF #EF9EFF
tetradic
#FFEF9E #9EFFBE #9EAEFF #FF9EDE
square
#FFEF9E #9EFFBE #9EAEFF #FF9EDE
split-complementary
#FFEF9E #9EDEFF #BE9EFF
monochromatic
#FFDB24 #FFE561 #FFEF9E #FFF9DB #FFFAE0

Accessibility & contrast

On white

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

On black

18.09
#FFEF9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF9E
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF9E#FFFFFF#000000##000000
##FFEF9E1.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffef9e;
/* rgb */ color: rgb(255, 239, 158);
/* oklch */ color: oklch(94.7% 0.102 98.4);
Tailwind
colors: {
  custom: {
    50: '#fff4bb',
    500: '#ffef9e',
    950: '#000000',
  },
}
SCSS
$custom: #ffef9e;
$custom-light: #fff4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef9e",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 158
  },
  "hsl": {
    "h": 50.103,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.94699,
    "c": 0.10218,
    "h": 98.4
  },
  "luminance": 0.85462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFEF9E

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

Preview Lab → · Contrast checker → · Palette generator →

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