#F0F77A#F0F77A

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

Color values

HEX#F0F77A
RGBrgb(240, 247, 122)
HSLhsl(63, 89%, 72%)
HSVhsv(63, 51%, 97%)
CMYKcmyk(2.8%, 0%, 50.6%, 3.1%)
CIE-LABlab(94.51, -19.03, 58.58)
CIE-LCHlch(94.51, 61.59, 108.00°)
OKLaboklab(94.6% -0.0552 0.1379)
OKLCHoklch(94.6% 0.149 111.8)
XYZxyz(72.7103, 86.4534, 31.2655)
Luminance0.8645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F77A #817AF7
analogous
#F7C07A #F0F77A #B2F77A
triadic
#F0F77A #7AF0F7 #F77AF0
tetradic
#F0F77A #7AF7C0 #817AF7 #F77AB2
square
#F0F77A #7AF7C0 #817AF7 #F77AB2
split-complementary
#F0F77A #7AB2F7 #C07AF7
monochromatic
#DCE90E #E9F440 #F0F77A #F7FAB4 #FCFDE2

Accessibility & contrast

On white

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

On black

18.29
#F0F77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F77A
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F77A#FFFFFF#000000##000000
##F0F77A1.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6E
Deuteranopia (green-blind)
#FFF181
Tritanopia (blue-blind)
#FEEADB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f0f77a;
/* rgb */ color: rgb(240, 247, 122);
/* oklch */ color: oklch(94.6% 0.149 111.8);
Tailwind
colors: {
  custom: {
    50: '#f7f9a3',
    500: '#f0f77a',
    950: '#000000',
  },
}
SCSS
$custom: #f0f77a;
$custom-light: #f7f9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f77a",
  "rgb": {
    "r": 240,
    "g": 247,
    "b": 122
  },
  "hsl": {
    "h": 63.36,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94603,
    "c": 0.14855,
    "h": 111.8
  },
  "luminance": 0.86452
}

Semantic roles & 50–950 ramp

primary
#F0F77A
secondary
#4A42D3
accent
#00E50D
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F0F77A

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

Preview Lab → · Contrast checker → · Palette generator →

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