#F0EF61#F0EF61

#F0EF61 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.22:1 contrast (WCAG AA passes).

Color values

HEX#F0EF61
RGBrgb(240, 239, 97)
HSLhsl(60, 83%, 66%)
HSVhsv(60, 60%, 94%)
CMYKcmyk(0%, 0.4%, 59.6%, 5.9%)
CIE-LABlab(92.19, -17.03, 66.85)
CIE-LCHlch(92.19, 68.98, 104.29°)
OKLaboklab(92.68% -0.052 0.1529)
OKLCHoklch(92.68% 0.161 108.8)
XYZxyz(68.9615, 81.1233, 23.3326)
Luminance0.8112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EF61 #6162F0
analogous
#F0A761 #F0EF61 #A9F061
triadic
#F0EF61 #61F0EF #EF61F0
tetradic
#F0EF61 #61F0A7 #6162F0 #F061A9
square
#F0EF61 #61F0A7 #6162F0 #F061A9
split-complementary
#F0EF61 #61A9F0 #A761F0
monochromatic
#C4C313 #EBE929 #F0EF61 #F5F599 #FBFAD1

Accessibility & contrast

On white

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

On black

17.22
#F0EF61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EF61
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EF61#FFFFFF#000000##000000
##F0EF611.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0ef61;
/* rgb */ color: rgb(240, 239, 97);
/* oklch */ color: oklch(92.7% 0.161 108.8);
Tailwind
colors: {
  custom: {
    50: '#f8f493',
    500: '#f0ef61',
    950: '#000000',
  },
}
SCSS
$custom: #f0ef61;
$custom-light: #f8f493;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ef61",
  "rgb": {
    "r": 240,
    "g": 239,
    "b": 97
  },
  "hsl": {
    "h": 59.58,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.92676,
    "c": 0.16148,
    "h": 108.8
  },
  "luminance": 0.81121
}

Semantic roles & 50–950 ramp

primary
#F0EF61
secondary
#3435C2
accent
#08DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0EF61

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

Preview Lab → · Contrast checker → · Palette generator →

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