#F5FAC2#F5FAC2

#F5FAC2 is a very light, moderate yellow. Relative luminance 0.917; OKLCH L 96.8% C 0.072 H 111.9°. Best body text is #000000 at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#F5FAC2
RGBrgb(245, 250, 194)
HSLhsl(65, 85%, 87%)
HSVhsv(65, 22%, 98%)
CMYKcmyk(2%, 0%, 22.4%, 2%)
CIE-LABlab(96.69, -10.56, 26.39)
CIE-LCHlch(96.69, 28.42, 111.81°)
OKLaboklab(96.77% -0.0269 0.067)
OKLCHoklch(96.77% 0.072 111.9)
XYZxyz(81.5789, 91.6795, 64.4268)
Luminance0.9168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FAC2 #C7C2FA
analogous
#FAE3C2 #F5FAC2 #D9FAC2
triadic
#F5FAC2 #C2F5FA #FAC2F5
tetradic
#F5FAC2 #C2FAE3 #C7C2FA #FAC2D9
square
#F5FAC2 #C2FAE3 #C7C2FA #FAC2D9
split-complementary
#F5FAC2 #C2D9FA #E3C2FA
monochromatic
#E2F151 #ECF589 #F5FAC2 #FAFDE3 #FAFDE3

Accessibility & contrast

On white

1.09
#F5FAC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.34
#F5FAC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FAC2
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FAC2#FFFFFF#000000##000000
##F5FAC21.001.0919.3419.34
#FFFFFF1.091.0021.0021.00
#00000019.3421.001.001.00
##00000019.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5BF
Deuteranopia (green-blind)
#FFF6C4
Tritanopia (blue-blind)
#FCF3EB
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f5fac2;
/* rgb */ color: rgb(245, 250, 194);
/* oklch */ color: oklch(96.8% 0.072 111.9);
Tailwind
colors: {
  custom: {
    50: '#f9fbd4',
    500: '#f5fac2',
    950: '#000000',
  },
}
SCSS
$custom: #f5fac2;
$custom-light: #f9fbd4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fac2",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 194
  },
  "hsl": {
    "h": 65.357,
    "s": 84.848,
    "l": 87.059
  },
  "oklch": {
    "l": 0.9677,
    "c": 0.07221,
    "h": 111.9
  },
  "luminance": 0.91679
}

Semantic roles & 50–950 ramp

primary
#F5FAC2
secondary
#8A81DF
accent
#04E118
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #F5FAC2

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

Preview Lab → · Contrast checker → · Palette generator →

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