#F0E554#F0E554

#F0E554 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.5% C 0.162 H 105.0°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#F0E554
RGBrgb(240, 229, 84)
HSLhsl(56, 84%, 64%)
HSVhsv(56, 65%, 94%)
CMYKcmyk(0%, 4.6%, 65%, 5.9%)
CIE-LABlab(89.49, -12.93, 69.24)
CIE-LCHlch(89.49, 70.44, 100.57°)
OKLaboklab(90.5% -0.0418 0.1561)
OKLCHoklch(90.5% 0.162 105)
XYZxyz(65.5572, 75.2064, 19.4488)
Luminance0.7520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E554 #545FF0
analogous
#F09754 #F0E554 #ADF054
triadic
#F0E554 #54F0E5 #E554F0
tetradic
#F0E554 #54F097 #545FF0 #F054AD
square
#F0E554 #54F097 #545FF0 #F054AD
split-complementary
#F0E554 #54ADF0 #9754F0
monochromatic
#B9AD10 #EBDC1C #F0E554 #F5EE8C #FAF6C5

Accessibility & contrast

On white

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

On black

16.04
#F0E554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E554
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E554#FFFFFF#000000##000000
##F0E5541.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD41
Deuteranopia (green-blind)
#FCE45D
Tritanopia (blue-blind)
#FFD6C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f0e554;
/* rgb */ color: rgb(240, 229, 84);
/* oklch */ color: oklch(90.5% 0.162 105.0);
Tailwind
colors: {
  custom: {
    50: '#f8ec8b',
    500: '#f0e554',
    950: '#000000',
  },
}
SCSS
$custom: #f0e554;
$custom-light: #f8ec8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e554",
  "rgb": {
    "r": 240,
    "g": 229,
    "b": 84
  },
  "hsl": {
    "h": 55.769,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.90495,
    "c": 0.16158,
    "h": 105
  },
  "luminance": 0.75204
}

Semantic roles & 50–950 ramp

primary
#F0E554
secondary
#303AB8
accent
#15E005
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F0E554

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

Preview Lab → · Contrast checker → · Palette generator →

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