#FFFEA2#FFFEA2

#FFFEA2 is a very light, moderate yellow. Relative luminance 0.948; OKLCH L 97.8% C 0.114 H 107.8°. Best body text is #000000 at 19.95:1 contrast (WCAG AA passes).

Color values

HEX#FFFEA2
RGBrgb(255, 254, 162)
HSLhsl(59, 100%, 82%)
HSVhsv(59, 36%, 100%)
CMYKcmyk(0%, 0.4%, 36.5%, 0%)
CIE-LABlab(97.94, -12.79, 44.14)
CIE-LCHlch(97.94, 45.95, 106.16°)
OKLaboklab(97.77% -0.0347 0.1082)
OKLCHoklch(97.77% 0.114 107.8)
XYZxyz(83.2044, 94.7539, 48.0817)
Luminance0.9475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFEA2 #A2A3FF
analogous
#FFD0A2 #FFFEA2 #D2FFA2
triadic
#FFFEA2 #A2FFFE #FEA2FF
tetradic
#FFFEA2 #A2FFD0 #A2A3FF #FFA2D2
square
#FFFEA2 #A2FFD0 #A2A3FF #FFA2D2
split-complementary
#FFFEA2 #A2D2FF #D0A2FF
monochromatic
#FFFD28 #FFFD65 #FFFEA2 #FFFFDF #FFFFE0

Accessibility & contrast

On white

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

On black

19.95
#FFFEA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFEA2
19.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFEA2#FFFFFF#000000##000000
##FFFEA21.001.0519.9519.95
#FFFFFF1.051.0021.0021.00
#00000019.9521.001.001.00
##00000019.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF79B
Deuteranopia (green-blind)
#FFFBA6
Tritanopia (blue-blind)
#FFF3E7
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fffea2;
/* rgb */ color: rgb(255, 254, 162);
/* oklch */ color: oklch(97.8% 0.114 107.8);
Tailwind
colors: {
  custom: {
    50: '#fffebe',
    500: '#fffea2',
    950: '#000000',
  },
}
SCSS
$custom: #fffea2;
$custom-light: #fffebe;
$custom-dark: #000000;
JSON
{
  "hex": "#fffea2",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 162
  },
  "hsl": {
    "h": 59.355,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.97771,
    "c": 0.11358,
    "h": 107.8
  },
  "luminance": 0.94752
}

Semantic roles & 50–950 ramp

primary
#FFFEA2
secondary
#6263E3
accent
#02E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFFEA2

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

Preview Lab → · Contrast checker → · Palette generator →

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