#F0E55A#F0E55A

#F0E55A is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.5% C 0.157 H 104.8°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#F0E55A
RGBrgb(240, 229, 90)
HSLhsl(56, 83%, 65%)
HSVhsv(56, 63%, 94%)
CMYKcmyk(0%, 4.6%, 62.5%, 5.9%)
CIE-LABlab(89.54, -12.57, 66.88)
CIE-LCHlch(89.54, 68.05, 100.65°)
OKLaboklab(90.55% -0.0401 0.152)
OKLCHoklch(90.55% 0.157 104.8)
XYZxyz(65.8024, 75.3044, 20.7399)
Luminance0.7530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E55A #5A65F0
analogous
#F09A5A #F0E55A #B0F05A
triadic
#F0E55A #5AF0E5 #E55AF0
tetradic
#F0E55A #5AF09A #5A65F0 #F05AB0
square
#F0E55A #5AF09A #5A65F0 #F05AB0
split-complementary
#F0E55A #5AB0F0 #9A5AF0
monochromatic
#BEB211 #EBDC22 #F0E55A #F5EE92 #FAF7CA

Accessibility & contrast

On white

1.31
#F0E55A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.06
#F0E55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E55A
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E55A#FFFFFF#000000##000000
##F0E55A1.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD49
Deuteranopia (green-blind)
#FCE462
Tritanopia (blue-blind)
#FFD7C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f0e55a;
/* rgb */ color: rgb(240, 229, 90);
/* oklch */ color: oklch(90.5% 0.157 104.8);
Tailwind
colors: {
  custom: {
    50: '#f8ec8f',
    500: '#f0e55a',
    950: '#000000',
  },
}
SCSS
$custom: #f0e55a;
$custom-light: #f8ec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e55a",
  "rgb": {
    "r": 240,
    "g": 229,
    "b": 90
  },
  "hsl": {
    "h": 55.6,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90546,
    "c": 0.1572,
    "h": 104.8
  },
  "luminance": 0.75302
}

Semantic roles & 50–950 ramp

primary
#F0E55A
secondary
#323CBD
accent
#16E006
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E55A

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

Preview Lab → · Contrast checker → · Palette generator →

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