#F0EFCA#F0EFCA

#F0EFCA is a very light, muted yellow. Relative luminance 0.845; OKLCH L 94.3% C 0.048 H 106.0°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#F0EFCA
RGBrgb(240, 239, 202)
HSLhsl(58, 56%, 87%)
HSVhsv(58, 16%, 94%)
CMYKcmyk(0%, 0.4%, 15.8%, 5.9%)
CIE-LABlab(93.68, -5.71, 18.06)
CIE-LCHlch(93.68, 18.94, 107.54°)
OKLaboklab(94.35% -0.0133 0.0465)
OKLCHoklch(94.35% 0.048 106)
XYZxyz(77.4615, 84.5233, 68.0996)
Luminance0.8452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EFCA #CACBF0
analogous
#F0DCCA #F0EFCA #DEF0CA
triadic
#F0EFCA #CAF0EF #EFCAF0
tetradic
#F0EFCA #CAF0DC #CACBF0 #F0CADE
square
#F0EFCA #CAF0DC #CACBF0 #F0CADE
split-complementary
#F0EFCA #CADEF0 #DCCAF0
monochromatic
#D5D26B #E3E19A #F0EFCA #F8F8E7 #F8F8E7

Accessibility & contrast

On white

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

On black

17.90
#F0EFCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EFCA
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EFCA#FFFFFF#000000##000000
##F0EFCA1.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0efca;
/* rgb */ color: rgb(240, 239, 202);
/* oklch */ color: oklch(94.3% 0.048 106.0);
Tailwind
colors: {
  custom: {
    50: '#f5f4da',
    500: '#f0efca',
    950: '#000000',
  },
}
SCSS
$custom: #f0efca;
$custom-light: #f5f4da;
$custom-dark: #000000;
JSON
{
  "hex": "#f0efca",
  "rgb": {
    "r": 240,
    "g": 239,
    "b": 202
  },
  "hsl": {
    "h": 58.421,
    "s": 55.882,
    "l": 86.667
  },
  "oklch": {
    "l": 0.94346,
    "c": 0.04839,
    "h": 106
  },
  "luminance": 0.84523
}

Semantic roles & 50–950 ramp

primary
#F0EFCA
secondary
#9091CE
accent
#26C322
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F0EFCA

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

Preview Lab → · Contrast checker → · Palette generator →

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