#F0F459#F0F459

#F0F459 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#F0F459
RGBrgb(240, 244, 89)
HSLhsl(62, 88%, 65%)
HSVhsv(62, 64%, 96%)
CMYKcmyk(1.6%, 0%, 63.5%, 4.3%)
CIE-LABlab(93.43, -19.95, 71.38)
CIE-LCHlch(93.43, 74.11, 105.61°)
OKLaboklab(93.65% -0.0611 0.1614)
OKLCHoklch(93.65% 0.173 110.7)
XYZxyz(70.0912, 83.9497, 21.9609)
Luminance0.8395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F459 #5D59F4
analogous
#F4AA59 #F0F459 #A3F459
triadic
#F0F459 #59F0F4 #F459F0
tetradic
#F0F459 #59F4AA #5D59F4 #F459A3
square
#F0F459 #59F4AA #5D59F4 #F459A3
split-complementary
#F0F459 #59A3F4 #AA59F4
monochromatic
#C1C60D #EBF020 #F0F459 #F5F892 #FAFCCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0F459#FFFFFF#000000##000000
##F0F4591.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)
#FFEA44
Deuteranopia (green-blind)
#FFEE63
Tritanopia (blue-blind)
#FFE6D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f0f459;
/* rgb */ color: rgb(240, 244, 89);
/* oklch */ color: oklch(93.6% 0.173 110.7);
Tailwind
colors: {
  custom: {
    50: '#f8f78f',
    500: '#f0f459',
    950: '#000000',
  },
}
SCSS
$custom: #f0f459;
$custom-light: #f8f78f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f459",
  "rgb": {
    "r": 240,
    "g": 244,
    "b": 89
  },
  "hsl": {
    "h": 61.548,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.93648,
    "c": 0.17252,
    "h": 110.7
  },
  "luminance": 0.83948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0F459

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

Preview Lab → · Contrast checker → · Palette generator →

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