#F0F86D#F0F86D

#F0F86D is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.7% C 0.161 H 112.1°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#F0F86D
RGBrgb(240, 248, 109)
HSLhsl(63, 91%, 70%)
HSVhsv(63, 56%, 97%)
CMYKcmyk(3.2%, 0%, 56%, 2.7%)
CIE-LABlab(94.64, -20.54, 64.48)
CIE-LCHlch(94.64, 67.67, 107.67°)
OKLaboklab(94.67% -0.0607 0.1493)
OKLCHoklch(94.67% 0.161 112.1)
XYZxyz(72.2646, 86.7657, 27.4057)
Luminance0.8676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F86D #756DF8
analogous
#F8BA6D #F0F86D #ABF86D
triadic
#F0F86D #6DF0F8 #F86DF0
tetradic
#F0F86D #6DF8BA #756DF8 #F86DAB
square
#F0F86D #6DF8BA #756DF8 #F86DAB
split-complementary
#F0F86D #6DABF8 #BA6DF8
monochromatic
#D4E00B #EAF533 #F0F86D #F6FBA7 #FCFEE2

Accessibility & contrast

On white

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

On black

18.35
#F0F86D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F86D
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F86D#FFFFFF#000000##000000
##F0F86D1.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5E
Deuteranopia (green-blind)
#FFF175
Tritanopia (blue-blind)
#FEEBDA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f0f86d;
/* rgb */ color: rgb(240, 248, 109);
/* oklch */ color: oklch(94.7% 0.161 112.1);
Tailwind
colors: {
  custom: {
    50: '#f8fa9b',
    500: '#f0f86d',
    950: '#000000',
  },
}
SCSS
$custom: #f0f86d;
$custom-light: #f8fa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f86d",
  "rgb": {
    "r": 240,
    "g": 248,
    "b": 109
  },
  "hsl": {
    "h": 63.453,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.94667,
    "c": 0.16119,
    "h": 112.1
  },
  "luminance": 0.86764
}

Semantic roles & 50–950 ramp

primary
#F0F86D
secondary
#4037D2
accent
#00E60D
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F86D

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

Preview Lab → · Contrast checker → · Palette generator →

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