#F0F161#F0F161

#F0F161 is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.1% C 0.164 H 109.6°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#F0F161
RGBrgb(240, 241, 97)
HSLhsl(60, 84%, 66%)
HSVhsv(60, 60%, 95%)
CMYKcmyk(0.4%, 0%, 59.8%, 5.5%)
CIE-LABlab(92.71, -18.00, 67.41)
CIE-LCHlch(92.71, 69.77, 104.95°)
OKLaboklab(93.09% -0.0548 0.1541)
OKLCHoklch(93.09% 0.164 109.6)
XYZxyz(69.5502, 82.3008, 23.5289)
Luminance0.8230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F161 #6261F1
analogous
#F1AA61 #F0F161 #A8F161
triadic
#F0F161 #61F0F1 #F161F0
tetradic
#F0F161 #61F1AA #6261F1 #F161A8
square
#F0F161 #61F1AA #6261F1 #F161A8
split-complementary
#F0F161 #61A8F1 #AA61F1
monochromatic
#C5C612 #EBEC29 #F0F161 #F5F699 #FBFBD1

Accessibility & contrast

On white

1.20
#F0F161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#F0F161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F161
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F161#FFFFFF#000000##000000
##F0F1611.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE850
Deuteranopia (green-blind)
#FFEC6A
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f0f161;
/* rgb */ color: rgb(240, 241, 97);
/* oklch */ color: oklch(93.1% 0.164 109.6);
Tailwind
colors: {
  custom: {
    50: '#f8f594',
    500: '#f0f161',
    950: '#000000',
  },
}
SCSS
$custom: #f0f161;
$custom-light: #f8f594;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f161",
  "rgb": {
    "r": 240,
    "g": 241,
    "b": 97
  },
  "hsl": {
    "h": 60.417,
    "s": 83.721,
    "l": 66.275
  },
  "oklch": {
    "l": 0.93092,
    "c": 0.16352,
    "h": 109.6
  },
  "luminance": 0.82299
}

Semantic roles & 50–950 ramp

primary
#F0F161
secondary
#3433C3
accent
#05E007
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F161

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

Preview Lab → · Contrast checker → · Palette generator →

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