#F0F77F#F0F77F

#F0F77F is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.7% C 0.144 H 111.8°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#F0F77F
RGBrgb(240, 247, 127)
HSLhsl(64, 88%, 73%)
HSVhsv(64, 49%, 97%)
CMYKcmyk(2.8%, 0%, 48.6%, 3.1%)
CIE-LABlab(94.56, -18.60, 56.36)
CIE-LCHlch(94.56, 59.35, 108.26°)
OKLaboklab(94.66% -0.0535 0.1335)
OKLCHoklch(94.66% 0.144 111.8)
XYZxyz(73.0281, 86.5805, 32.9392)
Luminance0.8658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F77F #867FF7
analogous
#F7C27F #F0F77F #B4F77F
triadic
#F0F77F #7FF0F7 #F77FF0
tetradic
#F0F77F #7FF7C2 #867FF7 #F77FB4
square
#F0F77F #7FF7C2 #867FF7 #F77FB4
split-complementary
#F0F77F #7FB4F7 #C27FF7
monochromatic
#E0ED0F #E9F345 #F0F77F #F7FBB9 #FCFDE2

Accessibility & contrast

On white

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

On black

18.32
#F0F77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F77F
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F77F#FFFFFF#000000##000000
##F0F77F1.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE74
Deuteranopia (green-blind)
#FFF185
Tritanopia (blue-blind)
#FDEBDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f0f77f;
/* rgb */ color: rgb(240, 247, 127);
/* oklch */ color: oklch(94.7% 0.144 111.8);
Tailwind
colors: {
  custom: {
    50: '#f7f9a7',
    500: '#f0f77f',
    950: '#000000',
  },
}
SCSS
$custom: #f0f77f;
$custom-light: #f7f9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f77f",
  "rgb": {
    "r": 240,
    "g": 247,
    "b": 127
  },
  "hsl": {
    "h": 63.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94663,
    "c": 0.14383,
    "h": 111.8
  },
  "luminance": 0.86579
}

Semantic roles & 50–950 ramp

primary
#F0F77F
secondary
#4F47D3
accent
#01E50E
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #F0F77F

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

Preview Lab → · Contrast checker → · Palette generator →

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