#FFEFAF#FFEFAF

#FFEFAF is a very light, moderate yellow. Relative luminance 0.861; OKLCH L 95.0% C 0.083 H 95.8°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#FFEFAF
RGBrgb(255, 239, 175)
HSLhsl(48, 100%, 84%)
HSVhsv(48, 31%, 100%)
CMYKcmyk(0%, 6.3%, 31.4%, 0%)
CIE-LABlab(94.35, -3.87, 32.97)
CIE-LCHlch(94.35, 33.20, 96.69°)
OKLaboklab(95% -0.0083 0.0825)
OKLCHoklch(95% 0.083 95.8)
XYZxyz(79.8453, 86.0902, 52.9602)
Luminance0.8609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEFAF #AFBFFF
analogous
#FFC7AF #FFEFAF #E7FFAF
triadic
#FFEFAF #AFFFEF #EFAFFF
tetradic
#FFEFAF #AFFFC7 #AFBFFF #FFAFE7
square
#FFEFAF #AFFFC7 #AFBFFF #FFAFE7
split-complementary
#FFEFAF #AFE7FF #C7AFFF
monochromatic
#FFD735 #FFE372 #FFEFAF #FFF9E0 #FFF9E0

Accessibility & contrast

On white

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

On black

18.22
#FFEFAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEFAF
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEFAF#FFFFFF#000000##000000
##FFEFAF1.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCECAB
Deuteranopia (green-blind)
#FFF1B1
Tritanopia (blue-blind)
#FFE6DE
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ffefaf;
/* rgb */ color: rgb(255, 239, 175);
/* oklch */ color: oklch(95.0% 0.083 95.8);
Tailwind
colors: {
  custom: {
    50: '#fff4c7',
    500: '#ffefaf',
    950: '#000000',
  },
}
SCSS
$custom: #ffefaf;
$custom-light: #fff4c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffefaf",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 175
  },
  "hsl": {
    "h": 48,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.94998,
    "c": 0.08294,
    "h": 95.8
  },
  "luminance": 0.86088
}

Semantic roles & 50–950 ramp

primary
#FFEFAF
secondary
#6D85E5
accent
#2EE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FFEFAF

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

Preview Lab → · Contrast checker → · Palette generator →

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