#F0EF59#F0EF59

#F0EF59 is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.6% C 0.168 H 108.9°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#F0EF59
RGBrgb(240, 239, 89)
HSLhsl(60, 83%, 65%)
HSVhsv(60, 63%, 94%)
CMYKcmyk(0%, 0.4%, 62.9%, 5.9%)
CIE-LABlab(92.12, -17.53, 70.02)
CIE-LCHlch(92.12, 72.18, 104.06°)
OKLaboklab(92.61% -0.0543 0.1585)
OKLCHoklch(92.61% 0.168 108.9)
XYZxyz(68.6071, 80.9815, 21.4663)
Luminance0.8098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EF59 #595AF0
analogous
#F0A459 #F0EF59 #A5F059
triadic
#F0EF59 #59F0EF #EF59F0
tetradic
#F0EF59 #59F0A4 #595AF0 #F059A5
square
#F0EF59 #59F0A4 #595AF0 #F059A5
split-complementary
#F0EF59 #59A5F0 #A459F0
monochromatic
#BDBC11 #EBEA21 #F0EF59 #F5F491 #FAFAC9

Accessibility & contrast

On white

1.22
#F0EF59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.20
#F0EF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EF59
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EF59#FFFFFF#000000##000000
##F0EF591.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE645
Deuteranopia (green-blind)
#FFEB63
Tritanopia (blue-blind)
#FFE1D0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f0ef59;
/* rgb */ color: rgb(240, 239, 89);
/* oklch */ color: oklch(92.6% 0.168 108.9);
Tailwind
colors: {
  custom: {
    50: '#f8f48f',
    500: '#f0ef59',
    950: '#000000',
  },
}
SCSS
$custom: #f0ef59;
$custom-light: #f8f48f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ef59",
  "rgb": {
    "r": 240,
    "g": 239,
    "b": 89
  },
  "hsl": {
    "h": 59.603,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.92606,
    "c": 0.1675,
    "h": 108.9
  },
  "luminance": 0.8098
}

Semantic roles & 50–950 ramp

primary
#F0EF59
secondary
#3132BC
accent
#07E006
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0EF59

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

Preview Lab → · Contrast checker → · Palette generator →

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