#F0F059#F0F059

#F0F059 is a very light, vivid yellow. Relative luminance 0.816; OKLCH L 92.8% C 0.169 H 109.3°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#F0F059
RGBrgb(240, 240, 89)
HSLhsl(60, 83%, 65%)
HSVhsv(60, 63%, 94%)
CMYKcmyk(0%, 0%, 62.9%, 5.9%)
CIE-LABlab(92.38, -18.02, 70.29)
CIE-LCHlch(92.38, 72.56, 104.38°)
OKLaboklab(92.81% -0.0556 0.1591)
OKLCHoklch(92.81% 0.169 109.3)
XYZxyz(68.9006, 81.5686, 21.5641)
Luminance0.8157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F059 #5959F0
analogous
#F0A559 #F0F059 #A5F059
triadic
#F0F059 #59F0F0 #F059F0
tetradic
#F0F059 #59F0A5 #5959F0 #F059A5
square
#F0F059 #59F0A5 #5959F0 #F059A5
split-complementary
#F0F059 #59A5F0 #A559F0
monochromatic
#BDBD11 #EBEB21 #F0F059 #F5F591 #FAFAC9

Accessibility & contrast

On white

1.21
#F0F059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#F0F059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F059
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F059#FFFFFF#000000##000000
##F0F0591.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE645
Deuteranopia (green-blind)
#FFEC63
Tritanopia (blue-blind)
#FFE2D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f0f059;
/* rgb */ color: rgb(240, 240, 89);
/* oklch */ color: oklch(92.8% 0.169 109.3);
Tailwind
colors: {
  custom: {
    50: '#f8f48f',
    500: '#f0f059',
    950: '#000000',
  },
}
SCSS
$custom: #f0f059;
$custom-light: #f8f48f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f059",
  "rgb": {
    "r": 240,
    "g": 240,
    "b": 89
  },
  "hsl": {
    "h": 60,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.92814,
    "c": 0.1685,
    "h": 109.3
  },
  "luminance": 0.81567
}

Semantic roles & 50–950 ramp

primary
#F0F059
secondary
#3131BC
accent
#06E006
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F059

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

Preview Lab → · Contrast checker → · Palette generator →

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