#F5FEA7#F5FEA7

#F5FEA7 is a very light, moderate yellow. Relative luminance 0.931; OKLCH L 97.1% C 0.109 H 113.3°. Best body text is #000000 at 19.62:1 contrast (WCAG AA passes).

Color values

HEX#F5FEA7
RGBrgb(245, 254, 167)
HSLhsl(66, 98%, 83%)
HSVhsv(66, 34%, 100%)
CMYKcmyk(3.5%, 0%, 34.3%, 0.4%)
CIE-LABlab(97.26, -15.97, 40.67)
CIE-LCHlch(97.26, 43.70, 111.44°)
OKLaboklab(97.08% -0.0431 0.1004)
OKLCHoklch(97.08% 0.109 113.3)
XYZxyz(80.0734, 93.0871, 50.3011)
Luminance0.9309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FEA7 #B0A7FE
analogous
#FEDCA7 #F5FEA7 #C9FEA7
triadic
#F5FEA7 #A7F5FE #FEA7F5
tetradic
#F5FEA7 #A7FEDC #B0A7FE #FEA7C9
square
#F5FEA7 #A7FEDC #B0A7FE #FEA7C9
split-complementary
#F5FEA7 #A7C9FE #DCA7FE
monochromatic
#E7FD2E #EEFD6A #F5FEA7 #FCFFE1 #FCFFE1

Accessibility & contrast

On white

1.07
#F5FEA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.62
#F5FEA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FEA7
19.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FEA7#FFFFFF#000000##000000
##F5FEA71.001.0719.6219.62
#FFFFFF1.071.0021.0021.00
#00000019.6221.001.001.00
##00000019.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6A1
Deuteranopia (green-blind)
#FFF8AB
Tritanopia (blue-blind)
#FFF4E8
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f5fea7;
/* rgb */ color: rgb(245, 254, 167);
/* oklch */ color: oklch(97.1% 0.109 113.3);
Tailwind
colors: {
  custom: {
    50: '#f9fec2',
    500: '#f5fea7',
    950: '#000000',
  },
}
SCSS
$custom: #f5fea7;
$custom-light: #f9fec2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fea7",
  "rgb": {
    "r": 245,
    "g": 254,
    "b": 167
  },
  "hsl": {
    "h": 66.207,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.97078,
    "c": 0.10928,
    "h": 113.3
  },
  "luminance": 0.93086
}

Semantic roles & 50–950 ramp

primary
#F5FEA7
secondary
#7467E2
accent
#00E618
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171712
muted
#858582

Preview Lab

Preview with #F5FEA7

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

Preview Lab → · Contrast checker → · Palette generator →

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