#FEFFA7#FEFFA7

#FEFFA7 is a very light, moderate yellow. Relative luminance 0.954; OKLCH L 98.0% C 0.109 H 108.8°. Best body text is #000000 at 20.08:1 contrast (WCAG AA passes).

Color values

HEX#FEFFA7
RGBrgb(254, 255, 167)
HSLhsl(61, 100%, 83%)
HSVhsv(61, 35%, 100%)
CMYKcmyk(0.4%, 0%, 34.5%, 0%)
CIE-LABlab(98.19, -13.10, 42.00)
CIE-LCHlch(98.19, 44.00, 107.33°)
OKLaboklab(97.98% -0.0352 0.1034)
OKLCHoklch(97.98% 0.109 108.8)
XYZxyz(83.6089, 95.3823, 50.5579)
Luminance0.9538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFFA7 #A8A7FF
analogous
#FFD4A7 #FEFFA7 #D2FFA7
triadic
#FEFFA7 #A7FEFF #FFA7FE
tetradic
#FEFFA7 #A7FFD4 #A8A7FF #FFA7D2
square
#FEFFA7 #A7FFD4 #A8A7FF #FFA7D2
split-complementary
#FEFFA7 #A7D2FF #D4A7FF
monochromatic
#FDFF2D #FDFF6A #FEFFA7 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

1.05
#FEFFA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.08
#FEFFA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFFA7
20.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFFA7#FFFFFF#000000##000000
##FEFFA71.001.0520.0820.08
#FFFFFF1.051.0021.0021.00
#00000020.0821.001.001.00
##00000020.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8A1
Deuteranopia (green-blind)
#FFFBAB
Tritanopia (blue-blind)
#FFF5E9
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #feffa7;
/* rgb */ color: rgb(254, 255, 167);
/* oklch */ color: oklch(98.0% 0.109 108.8);
Tailwind
colors: {
  custom: {
    50: '#ffffc2',
    500: '#feffa7',
    950: '#000000',
  },
}
SCSS
$custom: #feffa7;
$custom-light: #ffffc2;
$custom-dark: #000000;
JSON
{
  "hex": "#feffa7",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 167
  },
  "hsl": {
    "h": 60.682,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.97976,
    "c": 0.10927,
    "h": 108.8
  },
  "luminance": 0.95381
}

Semantic roles & 50–950 ramp

primary
#FEFFA7
secondary
#6866E4
accent
#00E603
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FEFFA7

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

Preview Lab → · Contrast checker → · Palette generator →

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