#FFFFE2#FFFFE2

#FFFFE2 is a very light, muted yellow. Relative luminance 0.983; OKLCH L 99.2% C 0.038 H 107.1°. Best body text is #000000 at 20.65:1 contrast (WCAG AA passes).

Color values

HEX#FFFFE2
RGBrgb(255, 255, 226)
HSLhsl(60, 100%, 94%)
HSVhsv(60, 11%, 100%)
CMYKcmyk(0%, 0%, 11.4%, 0%)
CIE-LABlab(99.33, -4.80, 13.88)
CIE-LCHlch(99.33, 14.68, 109.07°)
OKLaboklab(99.25% -0.0111 0.036)
OKLCHoklch(99.25% 0.038 107.1)
XYZxyz(90.7260, 98.2716, 86.1255)
Luminance0.9827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFFE2 #E2E2FF
analogous
#FFF1E2 #FFFFE2 #F1FFE2
triadic
#FFFFE2 #E2FFFF #FFE2FF
tetradic
#FFFFE2 #E2FFF1 #E2E2FF #FFE2F1
square
#FFFFE2 #E2FFF1 #E2E2FF #FFE2F1
split-complementary
#FFFFE2 #E2F1FF #F1E2FF
monochromatic
#FFFF68 #FFFFA5 #FFFFE0 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

1.02
#FFFFE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.65
#FFFFE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFFE2
20.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFFE2#FFFFFF#000000##000000
##FFFFE21.001.0220.6520.65
#FFFFFF1.021.0021.0021.00
#00000020.6521.001.001.00
##00000020.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFCE0
Deuteranopia (green-blind)
#FFFEE3
Tritanopia (blue-blind)
#FFFBF7
Achromatopsia (no color)
#FDFDFD

Design tokens & code

CSS
--color: #ffffe2;
/* rgb */ color: rgb(255, 255, 226);
/* oklch */ color: oklch(99.2% 0.038 107.1);
Tailwind
colors: {
  custom: {
    50: '#ffffeb',
    500: '#ffffe2',
    950: '#000000',
  },
}
SCSS
$custom: #ffffe2;
$custom-light: #ffffeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ffffe2",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 226
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 94.314
  },
  "oklch": {
    "l": 0.99249,
    "c": 0.03769,
    "h": 107.1
  },
  "luminance": 0.98271
}

Semantic roles & 50–950 ramp

primary
#FFFFE2
secondary
#9898ED
accent
#00E600
background
#FFFFFE
surface
#FFFFFD
border
#D7D7D5
text
#181816
muted
#868684

Preview Lab

Preview with #FFFFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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