#F0F861#F0F861

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

Color values

HEX#F0F861
RGBrgb(240, 248, 97)
HSLhsl(63, 92%, 68%)
HSVhsv(63, 61%, 97%)
CMYKcmyk(3.2%, 0%, 60.9%, 2.7%)
CIE-LABlab(94.54, -21.37, 69.38)
CIE-LCHlch(94.54, 72.59, 107.12°)
OKLaboklab(94.55% -0.0643 0.1582)
OKLCHoklch(94.55% 0.171 112.1)
XYZxyz(71.6622, 86.5247, 24.2329)
Luminance0.8652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F861 #6961F8
analogous
#F8B561 #F0F861 #A4F861
triadic
#F0F861 #61F0F8 #F861F0
tetradic
#F0F861 #61F8B5 #6961F8 #F861A4
square
#F0F861 #61F8B5 #6961F8 #F861A4
split-complementary
#F0F861 #61A4F8 #B561F8
monochromatic
#CAD509 #EAF526 #F0F861 #F6FB9C #FBFDD6

Accessibility & contrast

On white

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

On black

18.30
#F0F861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F861
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F861#FFFFFF#000000##000000
##F0F8611.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED4F
Deuteranopia (green-blind)
#FFF16B
Tritanopia (blue-blind)
#FFEAD8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f0f861;
/* rgb */ color: rgb(240, 248, 97);
/* oklch */ color: oklch(94.6% 0.171 112.1);
Tailwind
colors: {
  custom: {
    50: '#f8fa94',
    500: '#f0f861',
    950: '#000000',
  },
}
SCSS
$custom: #f0f861;
$custom-light: #f8fa94;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f861",
  "rgb": {
    "r": 240,
    "g": 248,
    "b": 97
  },
  "hsl": {
    "h": 63.179,
    "s": 91.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.94553,
    "c": 0.17079,
    "h": 112.1
  },
  "luminance": 0.86523
}

Semantic roles & 50–950 ramp

primary
#F0F861
secondary
#362DD0
accent
#00E60C
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F861

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

Preview Lab → · Contrast checker → · Palette generator →

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