#F5FFB2#F5FFB2

#F5FFB2 is a very light, moderate yellow. Relative luminance 0.941; OKLCH L 97.5% C 0.098 H 114.3°. Best body text is #000000 at 19.83:1 contrast (WCAG AA passes).

Color values

HEX#F5FFB2
RGBrgb(245, 255, 178)
HSLhsl(68, 100%, 85%)
HSVhsv(68, 30%, 100%)
CMYKcmyk(3.9%, 0%, 30.2%, 0%)
CIE-LABlab(97.69, -15.12, 35.79)
CIE-LCHlch(97.69, 38.85, 112.91°)
OKLaboklab(97.48% -0.0402 0.0893)
OKLCHoklch(97.48% 0.098 114.3)
XYZxyz(81.4520, 94.1476, 55.9922)
Luminance0.9415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FFB2 #BCB2FF
analogous
#FFE2B2 #F5FFB2 #CFFFB2
triadic
#F5FFB2 #B2F5FF #FFB2F5
tetradic
#F5FFB2 #B2FFE2 #BCB2FF #FFB2CF
square
#F5FFB2 #B2FFE2 #BCB2FF #FFB2CF
split-complementary
#F5FFB2 #B2CFFF #E2B2FF
monochromatic
#E5FF38 #EDFF75 #F5FFB2 #FBFFE0 #FBFFE0

Accessibility & contrast

On white

1.06
#F5FFB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.83
#F5FFB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FFB2
19.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FFB2#FFFFFF#000000##000000
##F5FFB21.001.0619.8319.83
#FFFFFF1.061.0021.0021.00
#00000019.8321.001.001.00
##00000019.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8AD
Deuteranopia (green-blind)
#FFF9B5
Tritanopia (blue-blind)
#FEF6EB
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #f5ffb2;
/* rgb */ color: rgb(245, 255, 178);
/* oklch */ color: oklch(97.5% 0.098 114.3);
Tailwind
colors: {
  custom: {
    50: '#f9ffc9',
    500: '#f5ffb2',
    950: '#000000',
  },
}
SCSS
$custom: #f5ffb2;
$custom-light: #f9ffc9;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ffb2",
  "rgb": {
    "r": 245,
    "g": 255,
    "b": 178
  },
  "hsl": {
    "h": 67.792,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.97475,
    "c": 0.09794,
    "h": 114.3
  },
  "luminance": 0.94147
}

Semantic roles & 50–950 ramp

primary
#F5FFB2
secondary
#7F70E6
accent
#00E61E
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171813
muted
#858682

Preview Lab

Preview with #F5FFB2

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

Preview Lab → · Contrast checker → · Palette generator →

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