#F5ECBF#F5ECBF

#F5ECBF is a very light, muted yellow. Relative luminance 0.832; OKLCH L 93.9% C 0.059 H 98.0°. Best body text is #000000 at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#F5ECBF
RGBrgb(245, 236, 191)
HSLhsl(50, 73%, 85%)
HSVhsv(50, 22%, 96%)
CMYKcmyk(0%, 3.7%, 22%, 3.9%)
CIE-LABlab(93.09, -3.98, 22.96)
CIE-LCHlch(93.09, 23.30, 99.84°)
OKLaboklab(93.9% -0.0082 0.0586)
OKLCHoklch(93.9% 0.059 98)
XYZxyz(77.0555, 83.1663, 61.2736)
Luminance0.8317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ECBF #BFC8F5
analogous
#F5D1BF #F5ECBF #E3F5BF
triadic
#F5ECBF #BFF5EC #ECBFF5
tetradic
#F5ECBF #BFF5D1 #BFC8F5 #F5BFE3
square
#F5ECBF #BFF5D1 #BFC8F5 #F5BFE3
split-complementary
#F5ECBF #BFE3F5 #D1BFF5
monochromatic
#E4CD55 #EDDC8A #F5ECBF #FBF7E5 #FBF7E5

Accessibility & contrast

On white

1.19
#F5ECBF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.63
#F5ECBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ECBF
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ECBF#FFFFFF#000000##000000
##F5ECBF1.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E9BC
Deuteranopia (green-blind)
#F8EDC0
Tritanopia (blue-blind)
#FEE5E0
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5ecbf;
/* rgb */ color: rgb(245, 236, 191);
/* oklch */ color: oklch(93.9% 0.059 98.0);
Tailwind
colors: {
  custom: {
    50: '#f9f2d2',
    500: '#f5ecbf',
    950: '#000000',
  },
}
SCSS
$custom: #f5ecbf;
$custom-light: #f9f2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ecbf",
  "rgb": {
    "r": 245,
    "g": 236,
    "b": 191
  },
  "hsl": {
    "h": 50,
    "s": 72.973,
    "l": 85.49
  },
  "oklch": {
    "l": 0.93902,
    "c": 0.05917,
    "h": 98
  },
  "luminance": 0.83165
}

Semantic roles & 50–950 ramp

primary
#F5ECBF
secondary
#8290D6
accent
#31D510
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #F5ECBF

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

Preview Lab → · Contrast checker → · Palette generator →

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