#F0F652#F0F652

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

Color values

HEX#F0F652
RGBrgb(240, 246, 82)
HSLhsl(62, 90%, 64%)
HSVhsv(62, 67%, 96%)
CMYKcmyk(2.4%, 0%, 66.7%, 3.5%)
CIE-LABlab(93.90, -21.30, 74.51)
CIE-LCHlch(93.90, 77.50, 105.95°)
OKLaboklab(94.01% -0.0655 0.1669)
OKLCHoklch(94.01% 0.179 111.4)
XYZxyz(70.4161, 85.0477, 20.6875)
Luminance0.8505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F652 #5852F6
analogous
#F6AA52 #F0F652 #9EF652
triadic
#F0F652 #52F0F6 #F652F0
tetradic
#F0F652 #52F6AA #5852F6 #F6529E
square
#F0F652 #52F6AA #5852F6 #F6529E
split-complementary
#F0F652 #529EF6 #AA52F6
monochromatic
#BDC30A #EBF318 #F0F652 #F5F98C #FAFCC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0F652#FFFFFF#000000##000000
##F0F6521.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)
#FFEB39
Deuteranopia (green-blind)
#FFF05E
Tritanopia (blue-blind)
#FFE7D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f0f652;
/* rgb */ color: rgb(240, 246, 82);
/* oklch */ color: oklch(94.0% 0.179 111.4);
Tailwind
colors: {
  custom: {
    50: '#f8f98b',
    500: '#f0f652',
    950: '#000000',
  },
}
SCSS
$custom: #f0f652;
$custom-light: #f8f98b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f652",
  "rgb": {
    "r": 240,
    "g": 246,
    "b": 82
  },
  "hsl": {
    "h": 62.195,
    "s": 90.11,
    "l": 64.314
  },
  "oklch": {
    "l": 0.94012,
    "c": 0.1793,
    "h": 111.4
  },
  "luminance": 0.85046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0F652

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

Preview Lab → · Contrast checker → · Palette generator →

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