#F0EA62#F0EA62

#F0EA62 is a very light, vivid yellow. Relative luminance 0.783; OKLCH L 91.6% C 0.156 H 106.7°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#F0EA62
RGBrgb(240, 234, 98)
HSLhsl(57, 83%, 66%)
HSVhsv(57, 59%, 94%)
CMYKcmyk(0%, 2.5%, 59.2%, 5.9%)
CIE-LABlab(90.90, -14.52, 65.02)
CIE-LCHlch(90.90, 66.62, 102.59°)
OKLaboklab(91.65% -0.0448 0.1491)
OKLCHoklch(91.65% 0.156 106.7)
XYZxyz(67.5648, 78.2549, 23.0985)
Luminance0.7825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EA62 #6268F0
analogous
#F0A362 #F0EA62 #AFF062
triadic
#F0EA62 #62F0EA #EA62F0
tetradic
#F0EA62 #62F0A3 #6268F0 #F062AF
square
#F0EA62 #62F0A3 #6268F0 #F062AF
split-complementary
#F0EA62 #62AFF0 #A362F0
monochromatic
#C5BD13 #EBE32A #F0EA62 #F5F19A #FBF9D2

Accessibility & contrast

On white

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

On black

16.65
#F0EA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EA62
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EA62#FFFFFF#000000##000000
##F0EA621.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE253
Deuteranopia (green-blind)
#FFE86A
Tritanopia (blue-blind)
#FFDCCD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f0ea62;
/* rgb */ color: rgb(240, 234, 98);
/* oklch */ color: oklch(91.6% 0.156 106.7);
Tailwind
colors: {
  custom: {
    50: '#f8f094',
    500: '#f0ea62',
    950: '#000000',
  },
}
SCSS
$custom: #f0ea62;
$custom-light: #f8f094;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ea62",
  "rgb": {
    "r": 240,
    "g": 234,
    "b": 98
  },
  "hsl": {
    "h": 57.465,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.9165,
    "c": 0.15573,
    "h": 106.7
  },
  "luminance": 0.78253
}

Semantic roles & 50–950 ramp

primary
#F0EA62
secondary
#343AC2
accent
#10DF07
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0EA62

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

Preview Lab → · Contrast checker → · Palette generator →

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