#FFF5BF#FFF5BF

#FFF5BF is a very light, moderate yellow. Relative luminance 0.903; OKLCH L 96.5% C 0.070 H 98.8°. Best body text is #000000 at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#FFF5BF
RGBrgb(255, 245, 191)
HSLhsl(51, 100%, 87%)
HSVhsv(51, 25%, 100%)
CMYKcmyk(0%, 3.9%, 25.1%, 0%)
CIE-LABlab(96.13, -4.85, 27.27)
CIE-LCHlch(96.13, 27.70, 100.08°)
OKLaboklab(96.5% -0.0107 0.0691)
OKLCHoklch(96.5% 0.07 98.8)
XYZxyz(83.2966, 90.3280, 62.3272)
Luminance0.9033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF5BF #BFC9FF
analogous
#FFD5BF #FFF5BF #E9FFBF
triadic
#FFF5BF #BFFFF5 #F5BFFF
tetradic
#FFF5BF #BFFFD5 #BFC9FF #FFBFE9
square
#FFF5BF #BFFFD5 #BFC9FF #FFBFE9
split-complementary
#FFF5BF #BFE9FF #D5BFFF
monochromatic
#FFE245 #FFEB82 #FFF5BF #FFFAE0 #FFFAE0

Accessibility & contrast

On white

1.10
#FFF5BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.07
#FFF5BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF5BF
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF5BF#FFFFFF#000000##000000
##FFF5BF1.001.1019.0719.07
#FFFFFF1.101.0021.0021.00
#00000019.0721.001.001.00
##00000019.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2BC
Deuteranopia (green-blind)
#FFF6C1
Tritanopia (blue-blind)
#FFEDE6
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fff5bf;
/* rgb */ color: rgb(255, 245, 191);
/* oklch */ color: oklch(96.5% 0.070 98.8);
Tailwind
colors: {
  custom: {
    50: '#fff8d2',
    500: '#fff5bf',
    950: '#000000',
  },
}
SCSS
$custom: #fff5bf;
$custom-light: #fff8d2;
$custom-dark: #000000;
JSON
{
  "hex": "#fff5bf",
  "rgb": {
    "r": 255,
    "g": 245,
    "b": 191
  },
  "hsl": {
    "h": 50.625,
    "s": 100,
    "l": 87.451
  },
  "oklch": {
    "l": 0.96497,
    "c": 0.06993,
    "h": 98.8
  },
  "luminance": 0.90326
}

Semantic roles & 50–950 ramp

primary
#FFF5BF
secondary
#7B8CE8
accent
#24E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF5BF

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

Preview Lab → · Contrast checker → · Palette generator →

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