#F0F863#F0F863

#F0F863 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.6% C 0.169 H 112.1°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#F0F863
RGBrgb(240, 248, 99)
HSLhsl(63, 91%, 68%)
HSVhsv(63, 60%, 97%)
CMYKcmyk(3.2%, 0%, 60.1%, 2.7%)
CIE-LABlab(94.55, -21.24, 68.58)
CIE-LCHlch(94.55, 71.80, 107.21°)
OKLaboklab(94.57% -0.0637 0.1568)
OKLCHoklch(94.57% 0.169 112.1)
XYZxyz(71.7566, 86.5625, 24.7302)
Luminance0.8656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F863 #6B63F8
analogous
#F8B563 #F0F863 #A6F863
triadic
#F0F863 #63F0F8 #F863F0
tetradic
#F0F863 #63F8B5 #6B63F8 #F863A6
square
#F0F863 #63F8B5 #6B63F8 #F863A6
split-complementary
#F0F863 #63A6F8 #B563F8
monochromatic
#CCD70A #EAF528 #F0F863 #F6FB9E #FBFDD8

Accessibility & contrast

On white

1.15
#F0F863 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.31
#F0F863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F863
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F863#FFFFFF#000000##000000
##F0F8631.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED51
Deuteranopia (green-blind)
#FFF16C
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f0f863;
/* rgb */ color: rgb(240, 248, 99);
/* oklch */ color: oklch(94.6% 0.169 112.1);
Tailwind
colors: {
  custom: {
    50: '#f8fa95',
    500: '#f0f863',
    950: '#000000',
  },
}
SCSS
$custom: #f0f863;
$custom-light: #f8fa95;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f863",
  "rgb": {
    "r": 240,
    "g": 248,
    "b": 99
  },
  "hsl": {
    "h": 63.221,
    "s": 91.411,
    "l": 68.039
  },
  "oklch": {
    "l": 0.94571,
    "c": 0.16926,
    "h": 112.1
  },
  "luminance": 0.86561
}

Semantic roles & 50–950 ramp

primary
#F0F863
secondary
#372ED1
accent
#00E60C
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F863

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

Preview Lab → · Contrast checker → · Palette generator →

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