#F0E55E#F0E55E

#F0E55E is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.6% C 0.154 H 104.7°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#F0E55E
RGBrgb(240, 229, 94)
HSLhsl(55, 83%, 65%)
HSVhsv(55, 61%, 94%)
CMYKcmyk(0%, 4.6%, 60.8%, 5.9%)
CIE-LABlab(89.57, -12.32, 65.26)
CIE-LCHlch(89.57, 66.41, 100.69°)
OKLaboklab(90.58% -0.039 0.1491)
OKLCHoklch(90.58% 0.154 104.7)
XYZxyz(65.9772, 75.3744, 21.6608)
Luminance0.7537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E55E #5E69F0
analogous
#F09C5E #F0E55E #B2F05E
triadic
#F0E55E #5EF0E5 #E55EF0
tetradic
#F0E55E #5EF09C #5E69F0 #F05EB2
square
#F0E55E #5EF09C #5E69F0 #F05EB2
split-complementary
#F0E55E #5EB2F0 #9C5EF0
monochromatic
#C2B412 #EBDC26 #F0E55E #F5EE96 #FAF7CE

Accessibility & contrast

On white

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

On black

16.07
#F0E55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E55E
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E55E#FFFFFF#000000##000000
##F0E55E1.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0e55e;
/* rgb */ color: rgb(240, 229, 94);
/* oklch */ color: oklch(90.6% 0.154 104.7);
Tailwind
colors: {
  custom: {
    50: '#f8ec91',
    500: '#f0e55e',
    950: '#000000',
  },
}
SCSS
$custom: #f0e55e;
$custom-light: #f8ec91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e55e",
  "rgb": {
    "r": 240,
    "g": 229,
    "b": 94
  },
  "hsl": {
    "h": 55.479,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.90583,
    "c": 0.15412,
    "h": 104.7
  },
  "luminance": 0.75372
}

Semantic roles & 50–950 ramp

primary
#F0E55E
secondary
#333DBF
accent
#16DF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E55E

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

Preview Lab → · Contrast checker → · Palette generator →

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