#F0F651#F0F651

#F0F651 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.0% C 0.180 H 111.4°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#F0F651
RGBrgb(240, 246, 81)
HSLhsl(62, 90%, 64%)
HSVhsv(62, 67%, 96%)
CMYKcmyk(2.4%, 0%, 67.1%, 3.5%)
CIE-LABlab(93.90, -21.35, 74.87)
CIE-LCHlch(93.90, 77.85, 105.92°)
OKLaboklab(94.01% -0.0658 0.1675)
OKLCHoklch(94.01% 0.18 111.4)
XYZxyz(70.3783, 85.0326, 20.4886)
Luminance0.8503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F651 #5751F6
analogous
#F6AA51 #F0F651 #9EF651
triadic
#F0F651 #51F0F6 #F651F0
tetradic
#F0F651 #51F6AA #5751F6 #F6519E
square
#F0F651 #51F6AA #5751F6 #F6519E
split-complementary
#F0F651 #519EF6 #AA51F6
monochromatic
#BCC30A #EBF317 #F0F651 #F5F98B #FAFCC5

Accessibility & contrast

On white

1.17
#F0F651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.01
#F0F651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F651
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F651#FFFFFF#000000##000000
##F0F6511.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB37
Deuteranopia (green-blind)
#FFF05D
Tritanopia (blue-blind)
#FFE7D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f0f651;
/* rgb */ color: rgb(240, 246, 81);
/* oklch */ color: oklch(94.0% 0.180 111.4);
Tailwind
colors: {
  custom: {
    50: '#f9f88b',
    500: '#f0f651',
    950: '#000000',
  },
}
SCSS
$custom: #f0f651;
$custom-light: #f9f88b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f651",
  "rgb": {
    "r": 240,
    "g": 246,
    "b": 81
  },
  "hsl": {
    "h": 62.182,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.94005,
    "c": 0.17994,
    "h": 111.4
  },
  "luminance": 0.85031
}

Semantic roles & 50–950 ramp

primary
#F0F651
secondary
#312BC0
accent
#00E608
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F651

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

Preview Lab → · Contrast checker → · Palette generator →

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