#F0ED62#F0ED62

#F0ED62 is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.3% C 0.159 H 108.0°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#F0ED62
RGBrgb(240, 237, 98)
HSLhsl(59, 83%, 66%)
HSVhsv(59, 59%, 94%)
CMYKcmyk(0%, 1.2%, 59.2%, 5.9%)
CIE-LABlab(91.67, -15.99, 65.87)
CIE-LCHlch(91.67, 67.79, 103.65°)
OKLaboklab(92.27% -0.049 0.1509)
OKLCHoklch(92.27% 0.159 108)
XYZxyz(68.4261, 79.9775, 23.3856)
Luminance0.7997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0ED62 #6265F0
analogous
#F0A662 #F0ED62 #ACF062
triadic
#F0ED62 #62F0ED #ED62F0
tetradic
#F0ED62 #62F0A6 #6265F0 #F062AC
square
#F0ED62 #62F0A6 #6265F0 #F062AC
split-complementary
#F0ED62 #62ACF0 #A662F0
monochromatic
#C5C113 #EBE72A #F0ED62 #F5F39A #FBFAD2

Accessibility & contrast

On white

1.24
#F0ED62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#F0ED62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0ED62
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0ED62#FFFFFF#000000##000000
##F0ED621.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE452
Deuteranopia (green-blind)
#FFEA6A
Tritanopia (blue-blind)
#FFDFCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f0ed62;
/* rgb */ color: rgb(240, 237, 98);
/* oklch */ color: oklch(92.3% 0.159 108.0);
Tailwind
colors: {
  custom: {
    50: '#f8f294',
    500: '#f0ed62',
    950: '#000000',
  },
}
SCSS
$custom: #f0ed62;
$custom-light: #f8f294;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ed62",
  "rgb": {
    "r": 240,
    "g": 237,
    "b": 98
  },
  "hsl": {
    "h": 58.732,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.92271,
    "c": 0.15869,
    "h": 108
  },
  "luminance": 0.79975
}

Semantic roles & 50–950 ramp

primary
#F0ED62
secondary
#3437C2
accent
#0BDF07
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F0ED62

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

Preview Lab → · Contrast checker → · Palette generator →

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