#FFEF8D#FFEF8D

#FFEF8D is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.4% C 0.120 H 100.2°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#FFEF8D
RGBrgb(255, 239, 141)
HSLhsl(52, 100%, 78%)
HSVhsv(52, 45%, 100%)
CMYKcmyk(0%, 6.3%, 44.7%, 0%)
CIE-LABlab(93.85, -7.54, 49.16)
CIE-LCHlch(93.85, 49.74, 98.72°)
OKLaboklab(94.44% -0.0213 0.1184)
OKLCHoklch(94.44% 0.12 100.2)
XYZxyz(76.9161, 84.9186, 37.5334)
Luminance0.8492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF8D #8D9DFF
analogous
#FFB68D #FFEF8D #D6FF8D
triadic
#FFEF8D #8DFFEF #EF8DFF
tetradic
#FFEF8D #8DFFB6 #8D9DFF #FF8DD6
square
#FFEF8D #8DFFB6 #8D9DFF #FF8DD6
split-complementary
#FFEF8D #8DD6FF #B68DFF
monochromatic
#FFDE13 #FFE650 #FFEF8D #FFF8CA #FFFBE0

Accessibility & contrast

On white

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

On black

17.98
#FFEF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF8D
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF8D#FFFFFF#000000##000000
##FFEF8D1.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA85
Deuteranopia (green-blind)
#FFF091
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffef8d;
/* rgb */ color: rgb(255, 239, 141);
/* oklch */ color: oklch(94.4% 0.120 100.2);
Tailwind
colors: {
  custom: {
    50: '#fff4b0',
    500: '#ffef8d',
    950: '#000000',
  },
}
SCSS
$custom: #ffef8d;
$custom-light: #fff4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef8d",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 141
  },
  "hsl": {
    "h": 51.579,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.94436,
    "c": 0.12032,
    "h": 100.2
  },
  "luminance": 0.84916
}

Semantic roles & 50–950 ramp

primary
#FFEF8D
secondary
#5064E0
accent
#20E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FFEF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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