#F0F45A#F0F45A

#F0F45A is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.7% C 0.172 H 110.7°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#F0F45A
RGBrgb(240, 244, 90)
HSLhsl(62, 88%, 65%)
HSVhsv(62, 63%, 96%)
CMYKcmyk(1.6%, 0%, 63.1%, 4.3%)
CIE-LABlab(93.44, -19.89, 71.00)
CIE-LCHlch(93.44, 73.73, 105.65°)
OKLaboklab(93.66% -0.0608 0.1607)
OKLCHoklch(93.66% 0.172 110.7)
XYZxyz(70.1334, 83.9666, 22.1836)
Luminance0.8397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F45A #5E5AF4
analogous
#F4AB5A #F0F45A #A3F45A
triadic
#F0F45A #5AF0F4 #F45AF0
tetradic
#F0F45A #5AF4AB #5E5AF4 #F45AA3
square
#F0F45A #5AF4AB #5E5AF4 #F45AA3
split-complementary
#F0F45A #5AA3F4 #AB5AF4
monochromatic
#C2C60D #EBF021 #F0F45A #F5F893 #FAFCCD

Accessibility & contrast

On white

1.18
#F0F45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.79
#F0F45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F45A
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F45A#FFFFFF#000000##000000
##F0F45A1.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA46
Deuteranopia (green-blind)
#FFEE64
Tritanopia (blue-blind)
#FFE6D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f0f45a;
/* rgb */ color: rgb(240, 244, 90);
/* oklch */ color: oklch(93.7% 0.172 110.7);
Tailwind
colors: {
  custom: {
    50: '#f8f790',
    500: '#f0f45a',
    950: '#000000',
  },
}
SCSS
$custom: #f0f45a;
$custom-light: #f8f790;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f45a",
  "rgb": {
    "r": 240,
    "g": 244,
    "b": 90
  },
  "hsl": {
    "h": 61.558,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.93656,
    "c": 0.17181,
    "h": 110.7
  },
  "luminance": 0.83965
}

Semantic roles & 50–950 ramp

primary
#F0F45A
secondary
#332FC3
accent
#01E407
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F45A

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

Preview Lab → · Contrast checker → · Palette generator →

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