#F0DE9A#F0DE9A

#F0DE9A is a very light, moderate yellow. Relative luminance 0.731; OKLCH L 90.0% C 0.089 H 95.1°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#F0DE9A
RGBrgb(240, 222, 154)
HSLhsl(47, 74%, 77%)
HSVhsv(47, 36%, 94%)
CMYKcmyk(0%, 7.5%, 35.8%, 5.9%)
CIE-LABlab(88.50, -3.47, 35.63)
CIE-LCHlch(88.50, 35.79, 95.56°)
OKLaboklab(89.97% -0.0078 0.0883)
OKLCHoklch(89.97% 0.089 95.1)
XYZxyz(67.8903, 73.1030, 41.0996)
Luminance0.7310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DE9A #9AACF0
analogous
#F0B39A #F0DE9A #D7F09A
triadic
#F0DE9A #9AF0DE #DE9AF0
tetradic
#F0DE9A #9AF0B3 #9AACF0 #F09AD7
square
#F0DE9A #9AF0B3 #9AACF0 #F09AD7
split-complementary
#F0DE9A #9AD7F0 #B39AF0
monochromatic
#E0BB2F #E8CD65 #F0DE9A #F8EFCF #FBF6E4

Accessibility & contrast

On white

1.34
#F0DE9A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#F0DE9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DE9A
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DE9A#FFFFFF#000000##000000
##F0DE9A1.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDB95
Deuteranopia (green-blind)
#F0E19C
Tritanopia (blue-blind)
#FDD4CD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f0de9a;
/* rgb */ color: rgb(240, 222, 154);
/* oklch */ color: oklch(90.0% 0.089 95.1);
Tailwind
colors: {
  custom: {
    50: '#f6e8b8',
    500: '#f0de9a',
    950: '#000000',
  },
}
SCSS
$custom: #f0de9a;
$custom-light: #f6e8b8;
$custom-dark: #000000;
JSON
{
  "hex": "#f0de9a",
  "rgb": {
    "r": 240,
    "g": 222,
    "b": 154
  },
  "hsl": {
    "h": 47.442,
    "s": 74.138,
    "l": 77.255
  },
  "oklch": {
    "l": 0.89967,
    "c": 0.08861,
    "h": 95.1
  },
  "luminance": 0.73101
}

Semantic roles & 50–950 ramp

primary
#F0DE9A
secondary
#6178CD
accent
#39D60F
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F0DE9A

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

Preview Lab → · Contrast checker → · Palette generator →

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