#F0EA58#F0EA58

#F0EA58 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.6% C 0.163 H 107.0°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#F0EA58
RGBrgb(240, 234, 88)
HSLhsl(58, 84%, 64%)
HSVhsv(58, 63%, 94%)
CMYKcmyk(0%, 2.5%, 63.3%, 5.9%)
CIE-LABlab(90.82, -15.15, 69.04)
CIE-LCHlch(90.82, 70.69, 102.38°)
OKLaboklab(91.56% -0.0476 0.1563)
OKLCHoklch(91.56% 0.163 107)
XYZxyz(67.1218, 78.0777, 20.7654)
Luminance0.7808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EA58 #585EF0
analogous
#F09E58 #F0EA58 #AAF058
triadic
#F0EA58 #58F0EA #EA58F0
tetradic
#F0EA58 #58F09E #585EF0 #F058AA
square
#F0EA58 #58F09E #585EF0 #F058AA
split-complementary
#F0EA58 #58AAF0 #9E58F0
monochromatic
#BDB611 #EBE320 #F0EA58 #F5F190 #FAF8C8

Accessibility & contrast

On white

1.26
#F0EA58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#F0EA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EA58
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EA58#FFFFFF#000000##000000
##F0EA581.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE145
Deuteranopia (green-blind)
#FFE761
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f0ea58;
/* rgb */ color: rgb(240, 234, 88);
/* oklch */ color: oklch(91.6% 0.163 107.0);
Tailwind
colors: {
  custom: {
    50: '#f8f08e',
    500: '#f0ea58',
    950: '#000000',
  },
}
SCSS
$custom: #f0ea58;
$custom-light: #f8f08e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ea58",
  "rgb": {
    "r": 240,
    "g": 234,
    "b": 88
  },
  "hsl": {
    "h": 57.632,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.9156,
    "c": 0.16337,
    "h": 107
  },
  "luminance": 0.78075
}

Semantic roles & 50–950 ramp

primary
#F0EA58
secondary
#3137BB
accent
#0EE006
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0EA58

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

Preview Lab → · Contrast checker → · Palette generator →

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