#F0F867#F0F867

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

Color values

HEX#F0F867
RGBrgb(240, 248, 103)
HSLhsl(63, 91%, 69%)
HSVhsv(63, 58%, 97%)
CMYKcmyk(3.2%, 0%, 58.5%, 2.7%)
CIE-LABlab(94.59, -20.97, 66.96)
CIE-LCHlch(94.59, 70.17, 107.39°)
OKLaboklab(94.61% -0.0625 0.1539)
OKLCHoklch(94.61% 0.166 112.1)
XYZxyz(71.9526, 86.6409, 25.7624)
Luminance0.8664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F867 #6F67F8
analogous
#F8B867 #F0F867 #A8F867
triadic
#F0F867 #67F0F8 #F867F0
tetradic
#F0F867 #67F8B8 #6F67F8 #F867A8
square
#F0F867 #67F8B8 #6F67F8 #F867A8
split-complementary
#F0F867 #67A8F8 #B867F8
monochromatic
#CFDB0A #EAF52C #F0F867 #F6FBA2 #FCFDDC

Accessibility & contrast

On white

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

On black

18.33
#F0F867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F867
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F867#FFFFFF#000000##000000
##F0F8671.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0f867;
/* rgb */ color: rgb(240, 248, 103);
/* oklch */ color: oklch(94.6% 0.166 112.1);
Tailwind
colors: {
  custom: {
    50: '#f8fa98',
    500: '#f0f867',
    950: '#000000',
  },
}
SCSS
$custom: #f0f867;
$custom-light: #f8fa98;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f867",
  "rgb": {
    "r": 240,
    "g": 248,
    "b": 103
  },
  "hsl": {
    "h": 63.31,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.94608,
    "c": 0.16611,
    "h": 112.1
  },
  "luminance": 0.86639
}

Semantic roles & 50–950 ramp

primary
#F0F867
secondary
#3A32D2
accent
#00E60D
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F867

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

Preview Lab → · Contrast checker → · Palette generator →

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