#F0FA6C#F0FA6C

#F0FA6C is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.1% C 0.164 H 112.8°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#F0FA6C
RGBrgb(240, 250, 108)
HSLhsl(64, 93%, 70%)
HSVhsv(64, 57%, 98%)
CMYKcmyk(4%, 0%, 56.8%, 2%)
CIE-LABlab(95.15, -21.57, 65.48)
CIE-LCHlch(95.15, 68.94, 108.23°)
OKLaboklab(95.08% -0.0637 0.1513)
OKLCHoklch(95.08% 0.164 112.8)
XYZxyz(72.8293, 87.9806, 27.3299)
Luminance0.8798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA6C #766CFA
analogous
#FABD6C #F0FA6C #A9FA6C
triadic
#F0FA6C #6CF0FA #FA6CF0
tetradic
#F0FA6C #6CFABD #766CFA #FA6CA9
square
#F0FA6C #6CFABD #766CFA #FA6CA9
split-complementary
#F0FA6C #6CA9FA #BD6CFA
monochromatic
#D4E408 #EAF831 #F0FA6C #F6FCA7 #FCFEE1

Accessibility & contrast

On white

1.13
#F0FA6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.60
#F0FA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FA6C
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FA6C#FFFFFF#000000##000000
##F0FA6C1.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5D
Deuteranopia (green-blind)
#FFF374
Tritanopia (blue-blind)
#FEEDDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f0fa6c;
/* rgb */ color: rgb(240, 250, 108);
/* oklch */ color: oklch(95.1% 0.164 112.8);
Tailwind
colors: {
  custom: {
    50: '#f8fb9b',
    500: '#f0fa6c',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa6c;
$custom-light: #f8fb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa6c",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 108
  },
  "hsl": {
    "h": 64.225,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.95075,
    "c": 0.16421,
    "h": 112.8
  },
  "luminance": 0.87979
}

Semantic roles & 50–950 ramp

primary
#F0FA6C
secondary
#4135D5
accent
#00E610
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0FA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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