#F0F677#F0F677

#F0F677 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.4% C 0.150 H 111.4°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#F0F677
RGBrgb(240, 246, 119)
HSLhsl(63, 88%, 72%)
HSVhsv(63, 52%, 96%)
CMYKcmyk(2.4%, 0%, 51.6%, 3.5%)
CIE-LABlab(94.21, -18.80, 59.59)
CIE-LCHlch(94.21, 62.49, 107.51°)
OKLaboklab(94.36% -0.0548 0.1399)
OKLCHoklch(94.36% 0.15 111.4)
XYZxyz(72.2223, 85.7702, 30.1999)
Luminance0.8577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F677 #7D77F6
analogous
#F6BD77 #F0F677 #B1F677
triadic
#F0F677 #77F0F6 #F677F0
tetradic
#F0F677 #77F6BD #7D77F6 #F677B1
square
#F0F677 #77F6BD #7D77F6 #F677B1
split-complementary
#F0F677 #77B1F6 #BD77F6
monochromatic
#DAE40F #EAF23E #F0F677 #F6FAB0 #FCFDE2

Accessibility & contrast

On white

1.16
#F0F677 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.15
#F0F677 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F677
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F677#FFFFFF#000000##000000
##F0F6771.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6B
Deuteranopia (green-blind)
#FFF07E
Tritanopia (blue-blind)
#FEE9D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f0f677;
/* rgb */ color: rgb(240, 246, 119);
/* oklch */ color: oklch(94.4% 0.150 111.4);
Tailwind
colors: {
  custom: {
    50: '#f7f9a1',
    500: '#f0f677',
    950: '#000000',
  },
}
SCSS
$custom: #f0f677;
$custom-light: #f7f9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f677",
  "rgb": {
    "r": 240,
    "g": 246,
    "b": 119
  },
  "hsl": {
    "h": 62.835,
    "s": 87.586,
    "l": 71.569
  },
  "oklch": {
    "l": 0.9436,
    "c": 0.1502,
    "h": 111.4
  },
  "luminance": 0.85769
}

Semantic roles & 50–950 ramp

primary
#F0F677
secondary
#4740D1
accent
#01E40C
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F0F677

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

Preview Lab → · Contrast checker → · Palette generator →

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