#F0FA4E#F0FA4E

#F0FA4E is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 94.8% C 0.186 H 112.7°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#F0FA4E
RGBrgb(240, 250, 78)
HSLhsl(63, 95%, 64%)
HSVhsv(63, 69%, 98%)
CMYKcmyk(4%, 0%, 68.8%, 2%)
CIE-LABlab(94.93, -23.41, 76.96)
CIE-LCHlch(94.93, 80.44, 106.92°)
OKLaboklab(94.82% -0.0718 0.1714)
OKLCHoklch(94.82% 0.186 112.7)
XYZxyz(71.4981, 87.4481, 20.3191)
Luminance0.8745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA4E #584EFA
analogous
#FAAE4E #F0FA4E #9AFA4E
triadic
#F0FA4E #4EF0FA #FA4EF0
tetradic
#F0FA4E #4EFAAE #584EFA #FA4E9A
square
#F0FA4E #4EFAAE #584EFA #FA4E9A
split-complementary
#F0FA4E #4E9AFA #AE4EFA
monochromatic
#BDC806 #EBF812 #F0FA4E #F5FC8A #FAFDC5

Accessibility & contrast

On white

1.14
#F0FA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.49
#F0FA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FA4E
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FA4E#FFFFFF#000000##000000
##F0FA4E1.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE31
Deuteranopia (green-blind)
#FFF25B
Tritanopia (blue-blind)
#FFEBD8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f0fa4e;
/* rgb */ color: rgb(240, 250, 78);
/* oklch */ color: oklch(94.8% 0.186 112.7);
Tailwind
colors: {
  custom: {
    50: '#f9fb8a',
    500: '#f0fa4e',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa4e;
$custom-light: #f9fb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa4e",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 78
  },
  "hsl": {
    "h": 63.488,
    "s": 94.505,
    "l": 64.314
  },
  "oklch": {
    "l": 0.94824,
    "c": 0.18586,
    "h": 112.7
  },
  "luminance": 0.87447
}

Semantic roles & 50–950 ramp

primary
#F0FA4E
secondary
#3128C4
accent
#00E60D
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #F0FA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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