#F0F261#F0F261

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

Color values

HEX#F0F261
RGBrgb(240, 242, 97)
HSLhsl(61, 85%, 66%)
HSVhsv(61, 60%, 95%)
CMYKcmyk(0.8%, 0%, 59.9%, 5.1%)
CIE-LABlab(92.97, -18.49, 67.69)
CIE-LCHlch(92.97, 70.17, 105.27°)
OKLaboklab(93.3% -0.0561 0.1547)
OKLCHoklch(93.3% 0.165 109.9)
XYZxyz(69.8470, 82.8944, 23.6278)
Luminance0.8289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F261 #6361F2
analogous
#F2AC61 #F0F261 #A8F261
triadic
#F0F261 #61F0F2 #F261F0
tetradic
#F0F261 #61F2AC #6361F2 #F261A8
square
#F0F261 #61F2AC #6361F2 #F261A8
split-complementary
#F0F261 #61A8F2 #AC61F2
monochromatic
#C6C810 #EBED28 #F0F261 #F5F79A #FBFBD2

Accessibility & contrast

On white

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

On black

17.58
#F0F261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F261
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F261#FFFFFF#000000##000000
##F0F2611.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0f261;
/* rgb */ color: rgb(240, 242, 97);
/* oklch */ color: oklch(93.3% 0.165 109.9);
Tailwind
colors: {
  custom: {
    50: '#f8f694',
    500: '#f0f261',
    950: '#000000',
  },
}
SCSS
$custom: #f0f261;
$custom-light: #f8f694;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f261",
  "rgb": {
    "r": 240,
    "g": 242,
    "b": 97
  },
  "hsl": {
    "h": 60.828,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.933,
    "c": 0.16454,
    "h": 109.9
  },
  "luminance": 0.82893
}

Semantic roles & 50–950 ramp

primary
#F0F261
secondary
#3432C5
accent
#04E107
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F261

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

Preview Lab → · Contrast checker → · Palette generator →

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