#F0EF62#F0EF62

#F0EF62 is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 92.7% C 0.161 H 108.8°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#F0EF62
RGBrgb(240, 239, 98)
HSLhsl(60, 83%, 66%)
HSVhsv(60, 59%, 94%)
CMYKcmyk(0%, 0.4%, 59.2%, 5.9%)
CIE-LABlab(92.19, -16.97, 66.44)
CIE-LCHlch(92.19, 68.57, 104.32°)
OKLaboklab(92.69% -0.0517 0.1521)
OKLCHoklch(92.69% 0.161 108.8)
XYZxyz(69.0084, 81.1420, 23.5797)
Luminance0.8114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EF62 #6263F0
analogous
#F0A862 #F0EF62 #AAF062
triadic
#F0EF62 #62F0EF #EF62F0
tetradic
#F0EF62 #62F0A8 #6263F0 #F062AA
square
#F0EF62 #62F0A8 #6263F0 #F062AA
split-complementary
#F0EF62 #62AAF0 #A862F0
monochromatic
#C5C413 #EBE92A #F0EF62 #F5F59A #FBFAD2

Accessibility & contrast

On white

1.22
#F0EF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.23
#F0EF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EF62
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EF62#FFFFFF#000000##000000
##F0EF621.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE652
Deuteranopia (green-blind)
#FFEB6A
Tritanopia (blue-blind)
#FFE1D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f0ef62;
/* rgb */ color: rgb(240, 239, 98);
/* oklch */ color: oklch(92.7% 0.161 108.8);
Tailwind
colors: {
  custom: {
    50: '#f8f494',
    500: '#f0ef62',
    950: '#000000',
  },
}
SCSS
$custom: #f0ef62;
$custom-light: #f8f494;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ef62",
  "rgb": {
    "r": 240,
    "g": 239,
    "b": 98
  },
  "hsl": {
    "h": 59.577,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.92686,
    "c": 0.1607,
    "h": 108.8
  },
  "luminance": 0.8114
}

Semantic roles & 50–950 ramp

primary
#F0EF62
secondary
#3435C2
accent
#08DF07
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0EF62

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

Preview Lab → · Contrast checker → · Palette generator →

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