#F0F476#F0F476

#F0F476 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 93.9% C 0.149 H 110.6°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#F0F476
RGBrgb(240, 244, 118)
HSLhsl(62, 85%, 71%)
HSVhsv(62, 52%, 96%)
CMYKcmyk(1.6%, 0%, 51.6%, 4.3%)
CIE-LABlab(93.68, -17.91, 59.43)
CIE-LCHlch(93.68, 62.07, 106.78°)
OKLaboklab(93.93% -0.0524 0.1394)
OKLCHoklch(93.93% 0.149 110.6)
XYZxyz(71.5575, 84.5362, 29.6836)
Luminance0.8454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F476 #7A76F4
analogous
#F4B976 #F0F476 #B1F476
triadic
#F0F476 #76F0F4 #F476F0
tetradic
#F0F476 #76F4B9 #7A76F4 #F476B1
square
#F0F476 #76F4B9 #7A76F4 #F476B1
split-complementary
#F0F476 #76B1F4 #B976F4
monochromatic
#D7DE12 #EAEF3D #F0F476 #F6F9AF #FCFDE3

Accessibility & contrast

On white

1.17
#F0F476 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.91
#F0F476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F476
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F476#FFFFFF#000000##000000
##F0F4761.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6A
Deuteranopia (green-blind)
#FFEF7D
Tritanopia (blue-blind)
#FEE7D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f0f476;
/* rgb */ color: rgb(240, 244, 118);
/* oklch */ color: oklch(93.9% 0.149 110.6);
Tailwind
colors: {
  custom: {
    50: '#f7f7a1',
    500: '#f0f476',
    950: '#000000',
  },
}
SCSS
$custom: #f0f476;
$custom-light: #f7f7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f476",
  "rgb": {
    "r": 240,
    "g": 244,
    "b": 118
  },
  "hsl": {
    "h": 61.905,
    "s": 85.135,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93933,
    "c": 0.14891,
    "h": 110.6
  },
  "luminance": 0.84535
}

Semantic roles & 50–950 ramp

primary
#F0F476
secondary
#4440CF
accent
#04E20B
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #F0F476

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

Preview Lab → · Contrast checker → · Palette generator →

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