#FFEFAC#FFEFAC

#FFEFAC is a very light, moderate yellow. Relative luminance 0.860; OKLCH L 94.9% C 0.086 H 96.3°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#FFEFAC
RGBrgb(255, 239, 172)
HSLhsl(48, 100%, 84%)
HSVhsv(48, 33%, 100%)
CMYKcmyk(0%, 6.3%, 32.5%, 0%)
CIE-LABlab(94.30, -4.23, 34.42)
CIE-LCHlch(94.30, 34.68, 97.01°)
OKLaboklab(94.94% -0.0095 0.0859)
OKLCHoklch(94.94% 0.086 96.3)
XYZxyz(79.5539, 85.9737, 51.4256)
Luminance0.8597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFAC #ACBCFF
analogous
#FFC5AC #FFEFAC #E5FFAC
triadic
#FFEFAC #ACFFEF #EFACFF
tetradic
#FFEFAC #ACFFC5 #ACBCFF #FFACE5
square
#FFEFAC #ACFFC5 #ACBCFF #FFACE5
split-complementary
#FFEFAC #ACE5FF #C5ACFF
monochromatic
#FFD732 #FFE36F #FFEFAC #FFF9E0 #FFF9E0

Accessibility & contrast

On white

1.15
#FFEFAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.19
#FFEFAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFAC
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFAC#FFFFFF#000000##000000
##FFEFAC1.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEBA7
Deuteranopia (green-blind)
#FFF1AE
Tritanopia (blue-blind)
#FFE5DE
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ffefac;
/* rgb */ color: rgb(255, 239, 172);
/* oklch */ color: oklch(94.9% 0.086 96.3);
Tailwind
colors: {
  custom: {
    50: '#fff4c5',
    500: '#ffefac',
    950: '#000000',
  },
}
SCSS
$custom: #ffefac;
$custom-light: #fff4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefac",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 172
  },
  "hsl": {
    "h": 48.434,
    "s": 100,
    "l": 83.725
  },
  "oklch": {
    "l": 0.94943,
    "c": 0.0864,
    "h": 96.3
  },
  "luminance": 0.85972
}

Semantic roles & 50–950 ramp

primary
#FFEFAC
secondary
#6A82E5
accent
#2CE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FFEFAC

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

Preview Lab → · Contrast checker → · Palette generator →

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