#F0FA4C#F0FA4C

#F0FA4C is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 94.8% C 0.187 H 112.7°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#F0FA4C
RGBrgb(240, 250, 76)
HSLhsl(63, 95%, 64%)
HSVhsv(63, 70%, 98%)
CMYKcmyk(4%, 0%, 69.6%, 2%)
CIE-LABlab(94.92, -23.50, 77.65)
CIE-LCHlch(94.92, 81.13, 106.84°)
OKLaboklab(94.81% -0.0723 0.1725)
OKLCHoklch(94.81% 0.187 112.7)
XYZxyz(71.4275, 87.4199, 19.9472)
Luminance0.8742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA4C #564CFA
analogous
#FAAD4C #F0FA4C #99FA4C
triadic
#F0FA4C #4CF0FA #FA4CF0
tetradic
#F0FA4C #4CFAAD #564CFA #FA4C99
square
#F0FA4C #4CFAAD #564CFA #FA4C99
split-complementary
#F0FA4C #4C99FA #AD4CFA
monochromatic
#BBC606 #EBF810 #F0FA4C #F5FC88 #FAFDC3

Accessibility & contrast

On white

1.14
#F0FA4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.48
#F0FA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FA4C
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FA4C#FFFFFF#000000##000000
##F0FA4C1.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE2D
Deuteranopia (green-blind)
#FFF259
Tritanopia (blue-blind)
#FFEBD8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f0fa4c;
/* rgb */ color: rgb(240, 250, 76);
/* oklch */ color: oklch(94.8% 0.187 112.7);
Tailwind
colors: {
  custom: {
    50: '#f9fb89',
    500: '#f0fa4c',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa4c;
$custom-light: #f9fb89;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa4c",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 76
  },
  "hsl": {
    "h": 63.448,
    "s": 94.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.9481,
    "c": 0.18706,
    "h": 112.7
  },
  "luminance": 0.87418
}

Semantic roles & 50–950 ramp

primary
#F0FA4C
secondary
#3028C3
accent
#00E60D
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #F0FA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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