#F0E45E#F0E45E

#F0E45E is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.4% C 0.153 H 104.2°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#F0E45E
RGBrgb(240, 228, 94)
HSLhsl(55, 83%, 65%)
HSVhsv(55, 61%, 94%)
CMYKcmyk(0%, 5%, 60.8%, 5.9%)
CIE-LABlab(89.31, -11.83, 64.98)
CIE-LCHlch(89.31, 66.05, 100.32°)
OKLaboklab(90.38% -0.0376 0.1485)
OKLCHoklch(90.38% 0.153 104.2)
XYZxyz(65.7013, 74.8226, 21.5689)
Luminance0.7482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E45E #5E6AF0
analogous
#F09B5E #F0E45E #B3F05E
triadic
#F0E45E #5EF0E4 #E45EF0
tetradic
#F0E45E #5EF09B #5E6AF0 #F05EB3
square
#F0E45E #5EF09B #5E6AF0 #F05EB3
split-complementary
#F0E45E #5EB3F0 #9B5EF0
monochromatic
#C2B312 #EBDB26 #F0E45E #F5ED96 #FAF7CE

Accessibility & contrast

On white

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

On black

15.96
#F0E45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E45E
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E45E#FFFFFF#000000##000000
##F0E45E1.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD4E
Deuteranopia (green-blind)
#FBE365
Tritanopia (blue-blind)
#FFD6C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f0e45e;
/* rgb */ color: rgb(240, 228, 94);
/* oklch */ color: oklch(90.4% 0.153 104.2);
Tailwind
colors: {
  custom: {
    50: '#f8ec91',
    500: '#f0e45e',
    950: '#000000',
  },
}
SCSS
$custom: #f0e45e;
$custom-light: #f8ec91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e45e",
  "rgb": {
    "r": 240,
    "g": 228,
    "b": 94
  },
  "hsl": {
    "h": 55.068,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.90377,
    "c": 0.1532,
    "h": 104.2
  },
  "luminance": 0.7482
}

Semantic roles & 50–950 ramp

primary
#F0E45E
secondary
#333EBF
accent
#18DF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E45E

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

Preview Lab → · Contrast checker → · Palette generator →

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