#F0FA4B#F0FA4B

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

Color values

HEX#F0FA4B
RGBrgb(240, 250, 75)
HSLhsl(63, 95%, 64%)
HSVhsv(63, 70%, 98%)
CMYKcmyk(4%, 0%, 70%, 2%)
CIE-LABlab(94.91, -23.55, 77.98)
CIE-LCHlch(94.91, 81.46, 106.81°)
OKLaboklab(94.8% -0.0725 0.1731)
OKLCHoklch(94.8% 0.188 112.7)
XYZxyz(71.3930, 87.4061, 19.7655)
Luminance0.8740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA4B #554BFA
analogous
#FAAD4B #F0FA4B #98FA4B
triadic
#F0FA4B #4BF0FA #FA4BF0
tetradic
#F0FA4B #4BFAAD #554BFA #FA4B98
square
#F0FA4B #4BFAAD #554BFA #FA4B98
split-complementary
#F0FA4B #4B98FA #AD4BFA
monochromatic
#BAC505 #EBF80F #F0FA4B #F5FC87 #FAFDC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0FA4B#FFFFFF#000000##000000
##F0FA4B1.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)
#FFEE2B
Deuteranopia (green-blind)
#FFF259
Tritanopia (blue-blind)
#FFEBD8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f0fa4b;
/* rgb */ color: rgb(240, 250, 75);
/* oklch */ color: oklch(94.8% 0.188 112.7);
Tailwind
colors: {
  custom: {
    50: '#f9fb88',
    500: '#f0fa4b',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa4b;
$custom-light: #f9fb88;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa4b",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 75
  },
  "hsl": {
    "h": 63.429,
    "s": 94.595,
    "l": 63.725
  },
  "oklch": {
    "l": 0.94804,
    "c": 0.18766,
    "h": 112.7
  },
  "luminance": 0.87404
}

Semantic roles & 50–950 ramp

primary
#F0FA4B
secondary
#3027C2
accent
#00E60D
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #F0FA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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