#F0FAAA#F0FAAA

#F0FAAA is a very light, moderate yellow. Relative luminance 0.898; OKLCH L 95.9% C 0.102 H 114.1°. Best body text is #000000 at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#F0FAAA
RGBrgb(240, 250, 170)
HSLhsl(68, 89%, 82%)
HSVhsv(68, 32%, 98%)
CMYKcmyk(4%, 0%, 32%, 2%)
CIE-LABlab(95.91, -15.52, 37.35)
CIE-LCHlch(95.91, 40.44, 112.56°)
OKLaboklab(95.93% -0.0416 0.0928)
OKLCHoklch(95.93% 0.102 114.1)
XYZxyz(77.3766, 89.7995, 51.2792)
Luminance0.8980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FAAA #B4AAFA
analogous
#FADCAA #F0FAAA #C8FAAA
triadic
#F0FAAA #AAF0FA #FAAAF0
tetradic
#F0FAAA #AAFADC #B4AAFA #FAAAC8
square
#F0FAAA #AAFADC #B4AAFA #FAAAC8
split-complementary
#F0FAAA #AAC8FA #DCAAFA
monochromatic
#DCF336 #E6F770 #F0FAAA #FAFDE2 #FAFDE2

Accessibility & contrast

On white

1.11
#F0FAAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.96
#F0FAAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FAAA
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FAAA#FFFFFF#000000##000000
##F0FAAA1.001.1118.9618.96
#FFFFFF1.111.0021.0021.00
#00000018.9621.001.001.00
##00000018.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2A4
Deuteranopia (green-blind)
#FFF4AD
Tritanopia (blue-blind)
#F9F1E5
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f0faaa;
/* rgb */ color: rgb(240, 250, 170);
/* oklch */ color: oklch(95.9% 0.102 114.1);
Tailwind
colors: {
  custom: {
    50: '#f6fbc4',
    500: '#f0faaa',
    950: '#000000',
  },
}
SCSS
$custom: #f0faaa;
$custom-light: #f6fbc4;
$custom-dark: #000000;
JSON
{
  "hex": "#f0faaa",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 170
  },
  "hsl": {
    "h": 67.5,
    "s": 88.889,
    "l": 82.353
  },
  "oklch": {
    "l": 0.95929,
    "c": 0.10166,
    "h": 114.1
  },
  "luminance": 0.89799
}

Semantic roles & 50–950 ramp

primary
#F0FAAA
secondary
#7A6CDD
accent
#00E61D
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171712
muted
#858582

Preview Lab

Preview with #F0FAAA

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

Preview Lab → · Contrast checker → · Palette generator →

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