#FFF5BD#FFF5BD

#FFF5BD is a very light, moderate yellow. Relative luminance 0.902; OKLCH L 96.5% C 0.072 H 99.1°. Best body text is #000000 at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#FFF5BD
RGBrgb(255, 245, 189)
HSLhsl(51, 100%, 87%)
HSVhsv(51, 26%, 100%)
CMYKcmyk(0%, 3.9%, 25.9%, 0%)
CIE-LABlab(96.10, -5.11, 28.24)
CIE-LCHlch(96.10, 28.70, 100.26°)
OKLaboklab(96.46% -0.0114 0.0714)
OKLCHoklch(96.46% 0.072 99.1)
XYZxyz(83.0780, 90.2406, 61.1760)
Luminance0.9024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF5BD #BDC7FF
analogous
#FFD4BD #FFF5BD #E8FFBD
triadic
#FFF5BD #BDFFF5 #F5BDFF
tetradic
#FFF5BD #BDFFD4 #BDC7FF #FFBDE8
square
#FFF5BD #BDFFD4 #BDC7FF #FFBDE8
split-complementary
#FFF5BD #BDE8FF #D4BDFF
monochromatic
#FFE243 #FFEC80 #FFF5BD #FFFAE0 #FFFAE0

Accessibility & contrast

On white

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

On black

19.05
#FFF5BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF5BD
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF5BD#FFFFFF#000000##000000
##FFF5BD1.001.1019.0519.05
#FFFFFF1.101.0021.0021.00
#00000019.0521.001.001.00
##00000019.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff5bd;
/* rgb */ color: rgb(255, 245, 189);
/* oklch */ color: oklch(96.5% 0.072 99.1);
Tailwind
colors: {
  custom: {
    50: '#fff8d1',
    500: '#fff5bd',
    950: '#000000',
  },
}
SCSS
$custom: #fff5bd;
$custom-light: #fff8d1;
$custom-dark: #000000;
JSON
{
  "hex": "#fff5bd",
  "rgb": {
    "r": 255,
    "g": 245,
    "b": 189
  },
  "hsl": {
    "h": 50.909,
    "s": 100,
    "l": 87.059
  },
  "oklch": {
    "l": 0.96457,
    "c": 0.07234,
    "h": 99.1
  },
  "luminance": 0.90239
}

Semantic roles & 50–950 ramp

primary
#FFF5BD
secondary
#798AE7
accent
#23E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF5BD

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

Preview Lab → · Contrast checker → · Palette generator →

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