#F0F790#F0F790

#F0F790 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 94.9% C 0.127 H 112.0°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#F0F790
RGBrgb(240, 247, 144)
HSLhsl(64, 87%, 77%)
HSVhsv(64, 42%, 97%)
CMYKcmyk(2.8%, 0%, 41.7%, 3.1%)
CIE-LABlab(94.76, -16.98, 48.60)
CIE-LCHlch(94.76, 51.49, 109.26°)
OKLaboklab(94.89% -0.0474 0.1175)
OKLCHoklch(94.89% 0.127 112)
XYZxyz(74.2309, 87.0616, 39.2743)
Luminance0.8706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F790 #9790F7
analogous
#F7CB90 #F0F790 #BDF790
triadic
#F0F790 #90F0F7 #F790F0
tetradic
#F0F790 #90F7CB #9790F7 #F790BD
square
#F0F790 #90F7CB #9790F7 #F790BD
split-complementary
#F0F790 #90BDF7 #CB90F7
monochromatic
#E1EF1E #E8F357 #F0F790 #F8FBC9 #FBFDE2

Accessibility & contrast

On white

1.14
#F0F790 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.41
#F0F790 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F790
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F790#FFFFFF#000000##000000
##F0F7901.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE88
Deuteranopia (green-blind)
#FFF195
Tritanopia (blue-blind)
#FCECDE
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f0f790;
/* rgb */ color: rgb(240, 247, 144);
/* oklch */ color: oklch(94.9% 0.127 112.0);
Tailwind
colors: {
  custom: {
    50: '#f6f9b2',
    500: '#f0f790',
    950: '#000000',
  },
}
SCSS
$custom: #f0f790;
$custom-light: #f6f9b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f790",
  "rgb": {
    "r": 240,
    "g": 247,
    "b": 144
  },
  "hsl": {
    "h": 64.078,
    "s": 86.555,
    "l": 76.667
  },
  "oklch": {
    "l": 0.94893,
    "c": 0.12671,
    "h": 112
  },
  "luminance": 0.8706
}

Semantic roles & 50–950 ramp

primary
#F0F790
secondary
#5E56D5
accent
#02E312
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F0F790

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

Preview Lab → · Contrast checker → · Palette generator →

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