#F0E156#F0E156

#F0E156 is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.7% C 0.157 H 103.1°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#F0E156
RGBrgb(240, 225, 86)
HSLhsl(54, 84%, 64%)
HSVhsv(54, 64%, 94%)
CMYKcmyk(0%, 6.3%, 64.2%, 5.9%)
CIE-LABlab(88.47, -10.83, 67.38)
CIE-LCHlch(88.47, 68.25, 99.13°)
OKLaboklab(89.69% -0.0356 0.1525)
OKLCHoklch(89.69% 0.157 103.1)
XYZxyz(64.5426, 73.0501, 19.5026)
Luminance0.7305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E156 #5665F0
analogous
#F09456 #F0E156 #B2F056
triadic
#F0E156 #56F0E1 #E156F0
tetradic
#F0E156 #56F094 #5665F0 #F056B2
square
#F0E156 #56F094 #5665F0 #F056B2
split-complementary
#F0E156 #56B2F0 #9456F0
monochromatic
#BBAA11 #EBD71E #F0E156 #F5EB8E #FAF5C6

Accessibility & contrast

On white

1.35
#F0E156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.61
#F0E156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E156
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E156#FFFFFF#000000##000000
##F0E1561.001.3515.6115.61
#FFFFFF1.351.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0e156;
/* rgb */ color: rgb(240, 225, 86);
/* oklch */ color: oklch(89.7% 0.157 103.1);
Tailwind
colors: {
  custom: {
    50: '#f8ea8c',
    500: '#f0e156',
    950: '#000000',
  },
}
SCSS
$custom: #f0e156;
$custom-light: #f8ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e156",
  "rgb": {
    "r": 240,
    "g": 225,
    "b": 86
  },
  "hsl": {
    "h": 54.156,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.8969,
    "c": 0.15657,
    "h": 103.1
  },
  "luminance": 0.73048
}

Semantic roles & 50–950 ramp

primary
#F0E156
secondary
#303EBA
accent
#1BE005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F0E156

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

Preview Lab → · Contrast checker → · Palette generator →

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