#FFFEA7#FFFEA7

#FFFEA7 is a very light, moderate yellow. Relative luminance 0.949; OKLCH L 97.9% C 0.108 H 107.7°. Best body text is #000000 at 19.99:1 contrast (WCAG AA passes).

Color values

HEX#FFFEA7
RGBrgb(255, 254, 167)
HSLhsl(59, 100%, 83%)
HSVhsv(59, 35%, 100%)
CMYKcmyk(0%, 0.4%, 34.5%, 0%)
CIE-LABlab(98.01, -12.24, 41.78)
CIE-LCHlch(98.01, 43.54, 106.33°)
OKLaboklab(97.85% -0.0328 0.1029)
OKLCHoklch(97.85% 0.108 107.7)
XYZxyz(83.6577, 94.9352, 50.4691)
Luminance0.9493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFEA7 #A7A8FF
analogous
#FFD2A7 #FFFEA7 #D4FFA7
triadic
#FFFEA7 #A7FFFE #FEA7FF
tetradic
#FFFEA7 #A7FFD2 #A7A8FF #FFA7D4
square
#FFFEA7 #A7FFD2 #A7A8FF #FFA7D4
split-complementary
#FFFEA7 #A7D4FF #D2A7FF
monochromatic
#FFFD2D #FFFD6A #FFFEA7 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

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

On black

19.99
#FFFEA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFEA7
19.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFEA7#FFFFFF#000000##000000
##FFFEA71.001.0519.9919.99
#FFFFFF1.051.0021.0021.00
#00000019.9921.001.001.00
##00000019.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7A1
Deuteranopia (green-blind)
#FFFBAB
Tritanopia (blue-blind)
#FFF4E8
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fffea7;
/* rgb */ color: rgb(255, 254, 167);
/* oklch */ color: oklch(97.9% 0.108 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffec2',
    500: '#fffea7',
    950: '#000000',
  },
}
SCSS
$custom: #fffea7;
$custom-light: #fffec2;
$custom-dark: #000000;
JSON
{
  "hex": "#fffea7",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 167
  },
  "hsl": {
    "h": 59.318,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.97853,
    "c": 0.10802,
    "h": 107.7
  },
  "luminance": 0.94934
}

Semantic roles & 50–950 ramp

primary
#FFFEA7
secondary
#6668E4
accent
#03E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFFEA7

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

Preview Lab → · Contrast checker → · Palette generator →

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