#F0F76F#F0F76F

#F0F76F is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.5% C 0.158 H 111.8°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#F0F76F
RGBrgb(240, 247, 111)
HSLhsl(63, 89%, 70%)
HSVhsv(63, 55%, 97%)
CMYKcmyk(2.8%, 0%, 55.1%, 3.1%)
CIE-LABlab(94.40, -19.91, 63.34)
CIE-LCHlch(94.40, 66.40, 107.45°)
OKLaboklab(94.48% -0.0587 0.1471)
OKLCHoklch(94.48% 0.158 111.8)
XYZxyz(72.0669, 86.1960, 27.8770)
Luminance0.8619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F76F #766FF7
analogous
#F7BA6F #F0F76F #ACF76F
triadic
#F0F76F #6FF0F7 #F76FF0
tetradic
#F0F76F #6FF7BA #766FF7 #F76FAC
square
#F0F76F #6FF7BA #766FF7 #F76FAC
split-complementary
#F0F76F #6FACF7 #BA6FF7
monochromatic
#D4DF0C #EAF435 #F0F76F #F6FAA9 #FCFDE2

Accessibility & contrast

On white

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

On black

18.24
#F0F76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F76F
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F76F#FFFFFF#000000##000000
##F0F76F1.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED61
Deuteranopia (green-blind)
#FFF177
Tritanopia (blue-blind)
#FEEAD9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f0f76f;
/* rgb */ color: rgb(240, 247, 111);
/* oklch */ color: oklch(94.5% 0.158 111.8);
Tailwind
colors: {
  custom: {
    50: '#f7f99c',
    500: '#f0f76f',
    950: '#000000',
  },
}
SCSS
$custom: #f0f76f;
$custom-light: #f7f99c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f76f",
  "rgb": {
    "r": 240,
    "g": 247,
    "b": 111
  },
  "hsl": {
    "h": 63.088,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.9448,
    "c": 0.15839,
    "h": 111.8
  },
  "luminance": 0.86194
}

Semantic roles & 50–950 ramp

primary
#F0F76F
secondary
#4139D1
accent
#00E60C
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F0F76F

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

Preview Lab → · Contrast checker → · Palette generator →

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