#F0E159#F0E159

#F0E159 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.7% C 0.154 H 103.0°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#F0E159
RGBrgb(240, 225, 89)
HSLhsl(54, 83%, 65%)
HSVhsv(54, 63%, 94%)
CMYKcmyk(0%, 6.3%, 62.9%, 5.9%)
CIE-LABlab(88.50, -10.65, 66.19)
CIE-LCHlch(88.50, 67.04, 99.14°)
OKLaboklab(89.72% -0.0348 0.1504)
OKLCHoklch(89.72% 0.154 103)
XYZxyz(64.6661, 73.0995, 20.1526)
Luminance0.7310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E159 #5968F0
analogous
#F09659 #F0E159 #B3F059
triadic
#F0E159 #59F0E1 #E159F0
tetradic
#F0E159 #59F096 #5968F0 #F059B3
square
#F0E159 #59F096 #5968F0 #F059B3
split-complementary
#F0E159 #59B3F0 #9659F0
monochromatic
#BDAC11 #EBD721 #F0E159 #F5EB91 #FAF5C9

Accessibility & contrast

On white

1.34
#F0E159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#F0E159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E159
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E159#FFFFFF#000000##000000
##F0E1591.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA48
Deuteranopia (green-blind)
#F9E161
Tritanopia (blue-blind)
#FFD2C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f0e159;
/* rgb */ color: rgb(240, 225, 89);
/* oklch */ color: oklch(89.7% 0.154 103.0);
Tailwind
colors: {
  custom: {
    50: '#f8ea8e',
    500: '#f0e159',
    950: '#000000',
  },
}
SCSS
$custom: #f0e159;
$custom-light: #f8ea8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e159",
  "rgb": {
    "r": 240,
    "g": 225,
    "b": 89
  },
  "hsl": {
    "h": 54.04,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89716,
    "c": 0.15435,
    "h": 103
  },
  "luminance": 0.73097
}

Semantic roles & 50–950 ramp

primary
#F0E159
secondary
#313FBC
accent
#1BE006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E159

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

Preview Lab → · Contrast checker → · Palette generator →

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