#F0F458#F0F458

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

Color values

HEX#F0F458
RGBrgb(240, 244, 88)
HSLhsl(62, 88%, 65%)
HSVhsv(62, 64%, 96%)
CMYKcmyk(1.6%, 0%, 63.9%, 4.3%)
CIE-LABlab(93.42, -20.00, 71.76)
CIE-LCHlch(93.42, 74.50, 105.58°)
OKLaboklab(93.64% -0.0613 0.162)
OKLCHoklch(93.64% 0.173 110.7)
XYZxyz(70.0495, 83.9330, 21.7413)
Luminance0.8393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F458 #5C58F4
analogous
#F4AA58 #F0F458 #A2F458
triadic
#F0F458 #58F0F4 #F458F0
tetradic
#F0F458 #58F4AA #5C58F4 #F458A2
square
#F0F458 #58F4AA #5C58F4 #F458A2
split-complementary
#F0F458 #58A2F4 #AA58F4
monochromatic
#C0C50D #EBF01F #F0F458 #F5F891 #FAFCCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0F458#FFFFFF#000000##000000
##F0F4581.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)
#FFEA43
Deuteranopia (green-blind)
#FFEE62
Tritanopia (blue-blind)
#FFE6D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f0f458;
/* rgb */ color: rgb(240, 244, 88);
/* oklch */ color: oklch(93.6% 0.173 110.7);
Tailwind
colors: {
  custom: {
    50: '#f8f78f',
    500: '#f0f458',
    950: '#000000',
  },
}
SCSS
$custom: #f0f458;
$custom-light: #f8f78f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f458",
  "rgb": {
    "r": 240,
    "g": 244,
    "b": 88
  },
  "hsl": {
    "h": 61.538,
    "s": 87.64,
    "l": 65.098
  },
  "oklch": {
    "l": 0.9364,
    "c": 0.17322,
    "h": 110.7
  },
  "luminance": 0.83931
}

Semantic roles & 50–950 ramp

primary
#F0F458
secondary
#322EC2
accent
#01E407
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F458

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

Preview Lab → · Contrast checker → · Palette generator →

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