#F0FA7E#F0FA7E

#F0FA7E is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.3% C 0.148 H 113.0°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#F0FA7E
RGBrgb(240, 250, 126)
HSLhsl(65, 93%, 74%)
HSVhsv(65, 50%, 98%)
CMYKcmyk(4%, 0%, 49.6%, 2%)
CIE-LABlab(95.33, -20.13, 57.73)
CIE-LCHlch(95.33, 61.14, 109.22°)
OKLaboklab(95.28% -0.0579 0.1364)
OKLCHoklch(95.28% 0.148 113)
XYZxyz(73.8880, 88.4041, 32.9060)
Luminance0.8840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA7E #887EFA
analogous
#FAC67E #F0FA7E #B2FA7E
triadic
#F0FA7E #7EF0FA #FA7EF0
tetradic
#F0FA7E #7EFAC6 #887EFA #FA7EB2
square
#F0FA7E #7EFAC6 #887EFA #FA7EB2
split-complementary
#F0FA7E #7EB2FA #C67EFA
monochromatic
#E1F409 #E9F843 #F0FA7E #F7FCB9 #FCFEE2

Accessibility & contrast

On white

1.12
#F0FA7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.68
#F0FA7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FA7E
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FA7E#FFFFFF#000000##000000
##F0FA7E1.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF073
Deuteranopia (green-blind)
#FFF385
Tritanopia (blue-blind)
#FDEEDE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f0fa7e;
/* rgb */ color: rgb(240, 250, 126);
/* oklch */ color: oklch(95.3% 0.148 113.0);
Tailwind
colors: {
  custom: {
    50: '#f7fba6',
    500: '#f0fa7e',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa7e;
$custom-light: #f7fba6;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa7e",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 126
  },
  "hsl": {
    "h": 64.839,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.95275,
    "c": 0.14822,
    "h": 113
  },
  "luminance": 0.88403
}

Semantic roles & 50–950 ramp

primary
#F0FA7E
secondary
#5145D7
accent
#00E613
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #F0FA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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