#FFEFAB#FFEFAB

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

Color values

HEX#FFEFAB
RGBrgb(255, 239, 171)
HSLhsl(49, 100%, 84%)
HSVhsv(49, 33%, 100%)
CMYKcmyk(0%, 6.3%, 32.9%, 0%)
CIE-LABlab(94.28, -4.35, 34.90)
CIE-LCHlch(94.28, 35.17, 97.10°)
OKLaboklab(94.92% -0.0099 0.087)
OKLCHoklch(94.92% 0.088 96.5)
XYZxyz(79.4582, 85.9354, 50.9217)
Luminance0.8593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFAB #ABBBFF
analogous
#FFC5AB #FFEFAB #E5FFAB
triadic
#FFEFAB #ABFFEF #EFABFF
tetradic
#FFEFAB #ABFFC5 #ABBBFF #FFABE5
square
#FFEFAB #ABFFC5 #ABBBFF #FFABE5
split-complementary
#FFEFAB #ABE5FF #C5ABFF
monochromatic
#FFD831 #FFE36E #FFEFAB #FFF9E0 #FFF9E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFEFAB#FFFFFF#000000##000000
##FFEFAB1.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)
#FCEBA6
Deuteranopia (green-blind)
#FFF1AD
Tritanopia (blue-blind)
#FFE5DD
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ffefab;
/* rgb */ color: rgb(255, 239, 171);
/* oklch */ color: oklch(94.9% 0.088 96.5);
Tailwind
colors: {
  custom: {
    50: '#fff4c4',
    500: '#ffefab',
    950: '#000000',
  },
}
SCSS
$custom: #ffefab;
$custom-light: #fff4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefab",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 171
  },
  "hsl": {
    "h": 48.571,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.94924,
    "c": 0.08755,
    "h": 96.5
  },
  "luminance": 0.85933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFEFAB

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

Preview Lab → · Contrast checker → · Palette generator →

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