#F0F777#F0F777

#F0F777 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.6% C 0.151 H 111.8°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#F0F777
RGBrgb(240, 247, 119)
HSLhsl(63, 89%, 72%)
HSVhsv(63, 52%, 97%)
CMYKcmyk(2.8%, 0%, 51.8%, 3.1%)
CIE-LABlab(94.47, -19.28, 59.90)
CIE-LCHlch(94.47, 62.92, 107.84°)
OKLaboklab(94.57% -0.0562 0.1405)
OKLCHoklch(94.57% 0.151 111.8)
XYZxyz(72.5273, 86.3801, 30.3016)
Luminance0.8638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F777 #7E77F7
analogous
#F7BE77 #F0F777 #B0F777
triadic
#F0F777 #77F0F7 #F777F0
tetradic
#F0F777 #77F7BE #7E77F7 #F777B0
square
#F0F777 #77F7BE #7E77F7 #F777B0
split-complementary
#F0F777 #77B0F7 #BE77F7
monochromatic
#DAE60E #EAF43D #F0F777 #F6FAB1 #FCFDE2

Accessibility & contrast

On white

1.15
#F0F777 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.28
#F0F777 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F777
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F777#FFFFFF#000000##000000
##F0F7771.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6B
Deuteranopia (green-blind)
#FFF17E
Tritanopia (blue-blind)
#FEEADA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f0f777;
/* rgb */ color: rgb(240, 247, 119);
/* oklch */ color: oklch(94.6% 0.151 111.8);
Tailwind
colors: {
  custom: {
    50: '#f7f9a2',
    500: '#f0f777',
    950: '#000000',
  },
}
SCSS
$custom: #f0f777;
$custom-light: #f7f9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f777",
  "rgb": {
    "r": 240,
    "g": 247,
    "b": 119
  },
  "hsl": {
    "h": 63.281,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.94568,
    "c": 0.15131,
    "h": 111.8
  },
  "luminance": 0.86379
}

Semantic roles & 50–950 ramp

primary
#F0F777
secondary
#4840D2
accent
#00E60D
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F0F777

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

Preview Lab → · Contrast checker → · Palette generator →

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