#FFEFA1#FFEFA1

#FFEFA1 is a very light, moderate yellow. Relative luminance 0.856; OKLCH L 94.7% C 0.099 H 98.0°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#FFEFA1
RGBrgb(255, 239, 161)
HSLhsl(50, 100%, 82%)
HSVhsv(50, 37%, 100%)
CMYKcmyk(0%, 6.3%, 36.9%, 0%)
CIE-LABlab(94.13, -5.49, 39.71)
CIE-LCHlch(94.13, 40.08, 97.87°)
OKLaboklab(94.75% -0.0138 0.0979)
OKLCHoklch(94.75% 0.099 98)
XYZxyz(78.5409, 85.5685, 46.0904)
Luminance0.8557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFA1 #A1B1FF
analogous
#FFC0A1 #FFEFA1 #E0FFA1
triadic
#FFEFA1 #A1FFEF #EFA1FF
tetradic
#FFEFA1 #A1FFC0 #A1B1FF #FFA1E0
square
#FFEFA1 #A1FFC0 #A1B1FF #FFA1E0
split-complementary
#FFEFA1 #A1E0FF #C0A1FF
monochromatic
#FFDA27 #FFE564 #FFEFA1 #FFF9DE #FFFAE0

Accessibility & contrast

On white

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

On black

18.11
#FFEFA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFA1
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFA1#FFFFFF#000000##000000
##FFEFA11.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffefa1;
/* rgb */ color: rgb(255, 239, 161);
/* oklch */ color: oklch(94.7% 0.099 98.0);
Tailwind
colors: {
  custom: {
    50: '#fff4bd',
    500: '#ffefa1',
    950: '#000000',
  },
}
SCSS
$custom: #ffefa1;
$custom-light: #fff4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefa1",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 161
  },
  "hsl": {
    "h": 49.787,
    "s": 100,
    "l": 81.569
  },
  "oklch": {
    "l": 0.94749,
    "c": 0.09886,
    "h": 98
  },
  "luminance": 0.85566
}

Semantic roles & 50–950 ramp

primary
#FFEFA1
secondary
#6177E3
accent
#27E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFEFA1

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

Preview Lab → · Contrast checker → · Palette generator →

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