#F5F2BB#F5F2BB

#F5F2BB is a very light, moderate yellow. Relative luminance 0.865; OKLCH L 95.0% C 0.071 H 105.1°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#F5F2BB
RGBrgb(245, 242, 187)
HSLhsl(57, 74%, 85%)
HSVhsv(57, 24%, 96%)
CMYKcmyk(0%, 1.2%, 23.7%, 3.9%)
CIE-LABlab(94.53, -7.54, 26.99)
CIE-LCHlch(94.53, 28.02, 105.61°)
OKLaboklab(95.02% -0.0184 0.0684)
OKLCHoklch(95.02% 0.071 105.1)
XYZxyz(78.3779, 86.5058, 59.5725)
Luminance0.8650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F2BB #BBBEF5
analogous
#F5D5BB #F5F2BB #DBF5BB
triadic
#F5F2BB #BBF5F2 #F2BBF5
tetradic
#F5F2BB #BBF5D5 #BBBEF5 #F5BBDB
square
#F5F2BB #BBF5D5 #BBBEF5 #F5BBDB
split-complementary
#F5F2BB #BBDBF5 #D5BBF5
monochromatic
#E5DE50 #EDE886 #F5F2BB #FBFAE4 #FBFAE4

Accessibility & contrast

On white

1.15
#F5F2BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.30
#F5F2BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F2BB
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F2BB#FFFFFF#000000##000000
##F5F2BB1.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEEB8
Deuteranopia (green-blind)
#FDF1BD
Tritanopia (blue-blind)
#FEEBE3
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f2bb;
/* rgb */ color: rgb(245, 242, 187);
/* oklch */ color: oklch(95.0% 0.071 105.1);
Tailwind
colors: {
  custom: {
    50: '#f9f6cf',
    500: '#f5f2bb',
    950: '#000000',
  },
}
SCSS
$custom: #f5f2bb;
$custom-light: #f9f6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f2bb",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 187
  },
  "hsl": {
    "h": 56.897,
    "s": 74.359,
    "l": 84.706
  },
  "oklch": {
    "l": 0.95016,
    "c": 0.07082,
    "h": 105.1
  },
  "luminance": 0.86505
}

Semantic roles & 50–950 ramp

primary
#F5F2BB
secondary
#7E82D6
accent
#19D60F
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F5F2BB

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

Preview Lab → · Contrast checker → · Palette generator →

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