#FFEF8F#FFEF8F

#FFEF8F is a very light, moderate yellow. Relative luminance 0.850; OKLCH L 94.5% C 0.118 H 100.0°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#FFEF8F
RGBrgb(255, 239, 143)
HSLhsl(51, 100%, 78%)
HSVhsv(51, 44%, 100%)
CMYKcmyk(0%, 6.3%, 43.9%, 0%)
CIE-LABlab(93.87, -7.35, 48.23)
CIE-LCHlch(93.87, 48.78, 98.67°)
OKLaboklab(94.47% -0.0205 0.1165)
OKLCHoklch(94.47% 0.118 100)
XYZxyz(77.0663, 84.9787, 38.3242)
Luminance0.8498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF8F #8F9FFF
analogous
#FFB78F #FFEF8F #D7FF8F
triadic
#FFEF8F #8FFFEF #EF8FFF
tetradic
#FFEF8F #8FFFB7 #8F9FFF #FF8FD7
square
#FFEF8F #8FFFB7 #8F9FFF #FF8FD7
split-complementary
#FFEF8F #8FD7FF #B78FFF
monochromatic
#FFDE15 #FFE652 #FFEF8F #FFF8CC #FFFBE0

Accessibility & contrast

On white

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

On black

18.00
#FFEF8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF8F
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF8F#FFFFFF#000000##000000
##FFEF8F1.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA87
Deuteranopia (green-blind)
#FFF093
Tritanopia (blue-blind)
#FFE3D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffef8f;
/* rgb */ color: rgb(255, 239, 143);
/* oklch */ color: oklch(94.5% 0.118 100.0);
Tailwind
colors: {
  custom: {
    50: '#fff4b1',
    500: '#ffef8f',
    950: '#000000',
  },
}
SCSS
$custom: #ffef8f;
$custom-light: #fff4b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef8f",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 143
  },
  "hsl": {
    "h": 51.429,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.94465,
    "c": 0.11826,
    "h": 100
  },
  "luminance": 0.84976
}

Semantic roles & 50–950 ramp

primary
#FFEF8F
secondary
#5266E0
accent
#21E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFEF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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