#F0E45A#F0E45A

#F0E45A is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.3% C 0.156 H 104.3°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#F0E45A
RGBrgb(240, 228, 90)
HSLhsl(55, 83%, 65%)
HSVhsv(55, 63%, 94%)
CMYKcmyk(0%, 5%, 62.5%, 5.9%)
CIE-LABlab(89.28, -12.08, 66.61)
CIE-LCHlch(89.28, 67.69, 100.28°)
OKLaboklab(90.34% -0.0387 0.1514)
OKLCHoklch(90.34% 0.156 104.3)
XYZxyz(65.5265, 74.7526, 20.6479)
Luminance0.7475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E45A #5A66F0
analogous
#F0995A #F0E45A #B1F05A
triadic
#F0E45A #5AF0E4 #E45AF0
tetradic
#F0E45A #5AF099 #5A66F0 #F05AB1
square
#F0E45A #5AF099 #5A66F0 #F05AB1
split-complementary
#F0E45A #5AB1F0 #995AF0
monochromatic
#BEB011 #EBDB22 #F0E45A #F5ED92 #FAF6CA

Accessibility & contrast

On white

1.32
#F0E45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.95
#F0E45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E45A
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E45A#FFFFFF#000000##000000
##F0E45A1.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD49
Deuteranopia (green-blind)
#FBE362
Tritanopia (blue-blind)
#FFD5C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f0e45a;
/* rgb */ color: rgb(240, 228, 90);
/* oklch */ color: oklch(90.3% 0.156 104.3);
Tailwind
colors: {
  custom: {
    50: '#f8ec8e',
    500: '#f0e45a',
    950: '#000000',
  },
}
SCSS
$custom: #f0e45a;
$custom-light: #f8ec8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e45a",
  "rgb": {
    "r": 240,
    "g": 228,
    "b": 90
  },
  "hsl": {
    "h": 55.2,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90341,
    "c": 0.15628,
    "h": 104.3
  },
  "luminance": 0.7475
}

Semantic roles & 50–950 ramp

primary
#F0E45A
secondary
#323DBD
accent
#17E006
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E45A

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

Preview Lab → · Contrast checker → · Palette generator →

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