#FFEFA8#FFEFA8

#FFEFA8 is a very light, moderate yellow. Relative luminance 0.858; OKLCH L 94.9% C 0.091 H 97.0°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#FFEFA8
RGBrgb(255, 239, 168)
HSLhsl(49, 100%, 83%)
HSVhsv(49, 34%, 100%)
CMYKcmyk(0%, 6.3%, 34.1%, 0%)
CIE-LABlab(94.24, -4.70, 36.35)
CIE-LCHlch(94.24, 36.65, 97.37°)
OKLaboklab(94.87% -0.0111 0.0903)
OKLCHoklch(94.87% 0.091 97)
XYZxyz(79.1755, 85.8223, 49.4328)
Luminance0.8582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFA8 #A8B8FF
analogous
#FFC4A8 #FFEFA8 #E3FFA8
triadic
#FFEFA8 #A8FFEF #EFA8FF
tetradic
#FFEFA8 #A8FFC4 #A8B8FF #FFA8E3
square
#FFEFA8 #A8FFC4 #A8B8FF #FFA8E3
split-complementary
#FFEFA8 #A8E3FF #C4A8FF
monochromatic
#FFD82E #FFE46B #FFEFA8 #FFF9E0 #FFF9E0

Accessibility & contrast

On white

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

On black

18.16
#FFEFA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFA8
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFA8#FFFFFF#000000##000000
##FFEFA81.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEBA3
Deuteranopia (green-blind)
#FFF1AB
Tritanopia (blue-blind)
#FFE5DD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ffefa8;
/* rgb */ color: rgb(255, 239, 168);
/* oklch */ color: oklch(94.9% 0.091 97.0);
Tailwind
colors: {
  custom: {
    50: '#fff4c2',
    500: '#ffefa8',
    950: '#000000',
  },
}
SCSS
$custom: #ffefa8;
$custom-light: #fff4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefa8",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 168
  },
  "hsl": {
    "h": 48.966,
    "s": 100,
    "l": 82.941
  },
  "oklch": {
    "l": 0.9487,
    "c": 0.09097,
    "h": 97
  },
  "luminance": 0.8582
}

Semantic roles & 50–950 ramp

primary
#FFEFA8
secondary
#677EE4
accent
#2AE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFEFA8

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

Preview Lab → · Contrast checker → · Palette generator →

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