#FFF5BC#FFF5BC

#FFF5BC is a very light, moderate yellow. Relative luminance 0.902; OKLCH L 96.4% C 0.074 H 99.3°. Best body text is #000000 at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#FFF5BC
RGBrgb(255, 245, 188)
HSLhsl(51, 100%, 87%)
HSVhsv(51, 26%, 100%)
CMYKcmyk(0%, 3.9%, 26.3%, 0%)
CIE-LABlab(96.08, -5.24, 28.72)
CIE-LCHlch(96.08, 29.19, 100.34°)
OKLaboklab(96.44% -0.0118 0.0726)
OKLCHoklch(96.44% 0.074 99.3)
XYZxyz(82.9698, 90.1973, 60.6063)
Luminance0.9020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF5BC #BCC6FF
analogous
#FFD4BC #FFF5BC #E8FFBC
triadic
#FFF5BC #BCFFF5 #F5BCFF
tetradic
#FFF5BC #BCFFD4 #BCC6FF #FFBCE8
square
#FFF5BC #BCFFD4 #BCC6FF #FFBCE8
split-complementary
#FFF5BC #BCE8FF #D4BCFF
monochromatic
#FFE342 #FFEC7F #FFF5BC #FFFAE0 #FFFAE0

Accessibility & contrast

On white

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

On black

19.04
#FFF5BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF5BC
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF5BC#FFFFFF#000000##000000
##FFF5BC1.001.1019.0419.04
#FFFFFF1.101.0021.0021.00
#00000019.0421.001.001.00
##00000019.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff5bc;
/* rgb */ color: rgb(255, 245, 188);
/* oklch */ color: oklch(96.4% 0.074 99.3);
Tailwind
colors: {
  custom: {
    50: '#fff8d0',
    500: '#fff5bc',
    950: '#000000',
  },
}
SCSS
$custom: #fff5bc;
$custom-light: #fff8d0;
$custom-dark: #000000;
JSON
{
  "hex": "#fff5bc",
  "rgb": {
    "r": 255,
    "g": 245,
    "b": 188
  },
  "hsl": {
    "h": 51.045,
    "s": 100,
    "l": 86.863
  },
  "oklch": {
    "l": 0.96437,
    "c": 0.07354,
    "h": 99.3
  },
  "luminance": 0.90196
}

Semantic roles & 50–950 ramp

primary
#FFF5BC
secondary
#7889E7
accent
#22E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF5BC

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

Preview Lab → · Contrast checker → · Palette generator →

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