#F0EFCB#F0EFCB

#F0EFCB is a very light, muted yellow. Relative luminance 0.846; OKLCH L 94.4% C 0.047 H 106.0°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#F0EFCB
RGBrgb(240, 239, 203)
HSLhsl(58, 55%, 87%)
HSVhsv(58, 15%, 94%)
CMYKcmyk(0%, 0.4%, 15.4%, 5.9%)
CIE-LABlab(93.70, -5.56, 17.57)
CIE-LCHlch(93.70, 18.43, 107.55°)
OKLaboklab(94.37% -0.0129 0.0453)
OKLCHoklch(94.37% 0.047 106)
XYZxyz(77.5803, 84.5708, 68.7252)
Luminance0.8457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EFCB #CBCCF0
analogous
#F0DDCB #F0EFCB #DFF0CB
triadic
#F0EFCB #CBF0EF #EFCBF0
tetradic
#F0EFCB #CBF0DD #CBCCF0 #F0CBDF
square
#F0EFCB #CBF0DD #CBCCF0 #F0CBDF
split-complementary
#F0EFCB #CBDFF0 #DDCBF0
monochromatic
#D5D26C #E2E09C #F0EFCB #F8F8E7 #F8F8E7

Accessibility & contrast

On white

1.17
#F0EFCB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.91
#F0EFCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EFCB
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EFCB#FFFFFF#000000##000000
##F0EFCB1.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6ECC9
Deuteranopia (green-blind)
#F7EECC
Tritanopia (blue-blind)
#F6EAE5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f0efcb;
/* rgb */ color: rgb(240, 239, 203);
/* oklch */ color: oklch(94.4% 0.047 106.0);
Tailwind
colors: {
  custom: {
    50: '#f5f4db',
    500: '#f0efcb',
    950: '#000000',
  },
}
SCSS
$custom: #f0efcb;
$custom-light: #f5f4db;
$custom-dark: #000000;
JSON
{
  "hex": "#f0efcb",
  "rgb": {
    "r": 240,
    "g": 239,
    "b": 203
  },
  "hsl": {
    "h": 58.378,
    "s": 55.224,
    "l": 86.863
  },
  "oklch": {
    "l": 0.94369,
    "c": 0.04711,
    "h": 106
  },
  "luminance": 0.8457
}

Semantic roles & 50–950 ramp

primary
#F0EFCB
secondary
#9193CE
accent
#27C323
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171715
muted
#858584

Preview Lab

Preview with #F0EFCB

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

Preview Lab → · Contrast checker → · Palette generator →

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