#F0DE91#F0DE91

#F0DE91 is a very light, moderate yellow. Relative luminance 0.728; OKLCH L 89.8% C 0.099 H 96.6°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#F0DE91
RGBrgb(240, 222, 145)
HSLhsl(49, 76%, 75%)
HSVhsv(49, 40%, 94%)
CMYKcmyk(0%, 7.5%, 39.6%, 5.9%)
CIE-LABlab(88.36, -4.46, 39.99)
CIE-LCHlch(88.36, 40.24, 96.37°)
OKLaboklab(89.81% -0.0113 0.098)
OKLCHoklch(89.81% 0.099 96.6)
XYZxyz(67.1687, 72.8143, 37.2989)
Luminance0.7281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DE91 #91A3F0
analogous
#F0AF91 #F0DE91 #D2F091
triadic
#F0DE91 #91F0DE #DE91F0
tetradic
#F0DE91 #91F0AF #91A3F0 #F091D2
square
#F0DE91 #91F0AF #91A3F0 #F091D2
split-complementary
#F0DE91 #91D2F0 #AF91F0
monochromatic
#E1BE25 #E9CE5B #F0DE91 #F7EEC7 #FBF7E4

Accessibility & contrast

On white

1.35
#F0DE91 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.56
#F0DE91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DE91
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DE91#FFFFFF#000000##000000
##F0DE911.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDA8B
Deuteranopia (green-blind)
#F2E094
Tritanopia (blue-blind)
#FED3CB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f0de91;
/* rgb */ color: rgb(240, 222, 145);
/* oklch */ color: oklch(89.8% 0.099 96.6);
Tailwind
colors: {
  custom: {
    50: '#f6e8b2',
    500: '#f0de91',
    950: '#000000',
  },
}
SCSS
$custom: #f0de91;
$custom-light: #f6e8b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0de91",
  "rgb": {
    "r": 240,
    "g": 222,
    "b": 145
  },
  "hsl": {
    "h": 48.632,
    "s": 76,
    "l": 75.49
  },
  "oklch": {
    "l": 0.89813,
    "c": 0.09866,
    "h": 96.6
  },
  "luminance": 0.72812
}

Semantic roles & 50–950 ramp

primary
#F0DE91
secondary
#596FCC
accent
#34D80D
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F0DE91

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

Preview Lab → · Contrast checker → · Palette generator →

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