#F0F260#F0F260

#F0F260 is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.3% C 0.165 H 110.0°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#F0F260
RGBrgb(240, 242, 96)
HSLhsl(61, 85%, 66%)
HSVhsv(61, 60%, 95%)
CMYKcmyk(0.8%, 0%, 60.3%, 5.1%)
CIE-LABlab(92.96, -18.55, 68.09)
CIE-LCHlch(92.96, 70.57, 105.24°)
OKLaboklab(93.29% -0.0564 0.1554)
OKLCHoklch(93.29% 0.165 110)
XYZxyz(69.8007, 82.8759, 23.3838)
Luminance0.8287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F260 #6260F2
analogous
#F2AB60 #F0F260 #A7F260
triadic
#F0F260 #60F0F2 #F260F0
tetradic
#F0F260 #60F2AB #6260F2 #F260A7
square
#F0F260 #60F2AB #6260F2 #F260A7
split-complementary
#F0F260 #60A7F2 #AB60F2
monochromatic
#C5C710 #EBED27 #F0F260 #F5F799 #FBFBD1

Accessibility & contrast

On white

1.19
#F0F260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.57
#F0F260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F260
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F260#FFFFFF#000000##000000
##F0F2601.001.1917.5717.57
#FFFFFF1.191.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE84E
Deuteranopia (green-blind)
#FFED69
Tritanopia (blue-blind)
#FFE4D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f0f260;
/* rgb */ color: rgb(240, 242, 96);
/* oklch */ color: oklch(93.3% 0.165 110.0);
Tailwind
colors: {
  custom: {
    50: '#f8f693',
    500: '#f0f260',
    950: '#000000',
  },
}
SCSS
$custom: #f0f260;
$custom-light: #f8f693;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f260",
  "rgb": {
    "r": 240,
    "g": 242,
    "b": 96
  },
  "hsl": {
    "h": 60.822,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.93291,
    "c": 0.16531,
    "h": 110
  },
  "luminance": 0.82874
}

Semantic roles & 50–950 ramp

primary
#F0F260
secondary
#3432C4
accent
#04E107
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F260

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

Preview Lab → · Contrast checker → · Palette generator →

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