#F0E659#F0E659

#F0E659 is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.7% C 0.159 H 105.3°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#F0E659
RGBrgb(240, 230, 89)
HSLhsl(56, 83%, 65%)
HSVhsv(56, 63%, 94%)
CMYKcmyk(0%, 4.2%, 62.9%, 5.9%)
CIE-LABlab(89.79, -13.13, 67.56)
CIE-LCHlch(89.79, 68.82, 101.00°)
OKLaboklab(90.74% -0.0418 0.1533)
OKLCHoklch(90.74% 0.159 105.3)
XYZxyz(66.0376, 75.8425, 20.6097)
Luminance0.7584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E659 #5963F0
analogous
#F09A59 #F0E659 #AFF059
triadic
#F0E659 #59F0E6 #E659F0
tetradic
#F0E659 #59F09A #5963F0 #F059AF
square
#F0E659 #59F09A #5963F0 #F059AF
split-complementary
#F0E659 #59AFF0 #9A59F0
monochromatic
#BDB211 #EBDE21 #F0E659 #F5EE91 #FAF7C9

Accessibility & contrast

On white

1.30
#F0E659 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.17
#F0E659 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E659
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E659#FFFFFF#000000##000000
##F0E6591.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE47
Deuteranopia (green-blind)
#FDE561
Tritanopia (blue-blind)
#FFD7C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f0e659;
/* rgb */ color: rgb(240, 230, 89);
/* oklch */ color: oklch(90.7% 0.159 105.3);
Tailwind
colors: {
  custom: {
    50: '#f8ed8e',
    500: '#f0e659',
    950: '#000000',
  },
}
SCSS
$custom: #f0e659;
$custom-light: #f8ed8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e659",
  "rgb": {
    "r": 240,
    "g": 230,
    "b": 89
  },
  "hsl": {
    "h": 56.026,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90743,
    "c": 0.15888,
    "h": 105.3
  },
  "luminance": 0.7584
}

Semantic roles & 50–950 ramp

primary
#F0E659
secondary
#313BBC
accent
#14E006
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E659

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

Preview Lab → · Contrast checker → · Palette generator →

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