#F5F2DF#F5F2DF

#F5F2DF is a very light, muted yellow. Relative luminance 0.882; OKLCH L 95.8% C 0.025 H 99.5°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#F5F2DF
RGBrgb(245, 242, 223)
HSLhsl(52, 52%, 92%)
HSVhsv(52, 9%, 96%)
CMYKcmyk(0%, 1.2%, 9%, 3.9%)
CIE-LABlab(95.26, -2.20, 9.52)
CIE-LCHlch(95.26, 9.77, 103.00°)
OKLaboklab(95.84% -0.0042 0.0249)
OKLCHoklch(95.84% 0.025 99.5)
XYZxyz(82.7260, 88.2450, 82.4726)
Luminance0.8824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F2DF #DFE2F5
analogous
#F5E7DF #F5F2DF #EDF5DF
triadic
#F5F2DF #DFF5F2 #F2DFF5
tetradic
#F5F2DF #DFF5E7 #DFE2F5 #F5DFED
square
#F5F2DF #DFF5E7 #DFE2F5 #F5DFED
split-complementary
#F5F2DF #DFEDF5 #E7DFF5
monochromatic
#D8CC82 #E6DFB0 #F5F2DF #F8F6E8 #F8F6E8

Accessibility & contrast

On white

1.13
#F5F2DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.65
#F5F2DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F2DF
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F2DF#FFFFFF#000000##000000
##F5F2DF1.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6F1DE
Deuteranopia (green-blind)
#F7F2E0
Tritanopia (blue-blind)
#F9EFEC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f5f2df;
/* rgb */ color: rgb(245, 242, 223);
/* oklch */ color: oklch(95.8% 0.025 99.5);
Tailwind
colors: {
  custom: {
    50: '#f8f6e9',
    500: '#f5f2df',
    950: '#000000',
  },
}
SCSS
$custom: #f5f2df;
$custom-light: #f8f6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f2df",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 223
  },
  "hsl": {
    "h": 51.818,
    "s": 52.381,
    "l": 91.765
  },
  "oklch": {
    "l": 0.9584,
    "c": 0.02524,
    "h": 99.5
  },
  "luminance": 0.88244
}

Semantic roles & 50–950 ramp

primary
#F5F2DF
secondary
#A4AAD5
accent
#3BC026
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#171716
muted
#858584

Preview Lab

Preview with #F5F2DF

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

Preview Lab → · Contrast checker → · Palette generator →

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