#FFF6BF#FFF6BF

#FFF6BF is a very light, moderate yellow. Relative luminance 0.909; OKLCH L 96.7% C 0.071 H 99.8°. Best body text is #000000 at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#FFF6BF
RGBrgb(255, 246, 191)
HSLhsl(52, 100%, 87%)
HSVhsv(52, 25%, 100%)
CMYKcmyk(0%, 3.5%, 25.1%, 0%)
CIE-LABlab(96.38, -5.35, 27.61)
CIE-LCHlch(96.38, 28.13, 100.96°)
OKLaboklab(96.7% -0.0121 0.0699)
OKLCHoklch(96.7% 0.071 99.8)
XYZxyz(83.5999, 90.9347, 62.4283)
Luminance0.9093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF6BF #BFC8FF
analogous
#FFD6BF #FFF6BF #E8FFBF
triadic
#FFF6BF #BFFFF6 #F6BFFF
tetradic
#FFF6BF #BFFFD6 #BFC8FF #FFBFE8
square
#FFF6BF #BFFFD6 #BFC8FF #FFBFE8
split-complementary
#FFF6BF #BFE8FF #D6BFFF
monochromatic
#FFE545 #FFED82 #FFF6BF #FFFBE0 #FFFBE0

Accessibility & contrast

On white

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

On black

19.19
#FFF6BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF6BF
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF6BF#FFFFFF#000000##000000
##FFF6BF1.001.0919.1919.19
#FFFFFF1.091.0021.0021.00
#00000019.1921.001.001.00
##00000019.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2BB
Deuteranopia (green-blind)
#FFF6C1
Tritanopia (blue-blind)
#FFEEE7
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fff6bf;
/* rgb */ color: rgb(255, 246, 191);
/* oklch */ color: oklch(96.7% 0.071 99.8);
Tailwind
colors: {
  custom: {
    50: '#fff9d2',
    500: '#fff6bf',
    950: '#000000',
  },
}
SCSS
$custom: #fff6bf;
$custom-light: #fff9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#fff6bf",
  "rgb": {
    "r": 255,
    "g": 246,
    "b": 191
  },
  "hsl": {
    "h": 51.563,
    "s": 100,
    "l": 87.451
  },
  "oklch": {
    "l": 0.96695,
    "c": 0.07098,
    "h": 99.8
  },
  "luminance": 0.90933
}

Semantic roles & 50–950 ramp

primary
#FFF6BF
secondary
#7B8AE8
accent
#20E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF6BF

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

Preview Lab → · Contrast checker → · Palette generator →

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