#F0EF60#F0EF60

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

Color values

HEX#F0EF60
RGBrgb(240, 239, 96)
HSLhsl(60, 83%, 66%)
HSVhsv(60, 60%, 94%)
CMYKcmyk(0%, 0.4%, 60%, 5.9%)
CIE-LABlab(92.18, -17.10, 67.25)
CIE-LCHlch(92.18, 69.39, 104.26°)
OKLaboklab(92.67% -0.0523 0.1536)
OKLCHoklch(92.67% 0.162 108.8)
XYZxyz(68.9151, 81.1047, 23.0886)
Luminance0.8110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EF60 #6061F0
analogous
#F0A760 #F0EF60 #A9F060
triadic
#F0EF60 #60F0EF #EF60F0
tetradic
#F0EF60 #60F0A7 #6061F0 #F060A9
square
#F0EF60 #60F0A7 #6061F0 #F060A9
split-complementary
#F0EF60 #60A9F0 #A760F0
monochromatic
#C3C212 #EBE928 #F0EF60 #F5F598 #FBFAD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0EF60#FFFFFF#000000##000000
##F0EF601.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)
#FFE64F
Deuteranopia (green-blind)
#FFEB69
Tritanopia (blue-blind)
#FFE1D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f0ef60;
/* rgb */ color: rgb(240, 239, 96);
/* oklch */ color: oklch(92.7% 0.162 108.8);
Tailwind
colors: {
  custom: {
    50: '#f8f493',
    500: '#f0ef60',
    950: '#000000',
  },
}
SCSS
$custom: #f0ef60;
$custom-light: #f8f493;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ef60",
  "rgb": {
    "r": 240,
    "g": 239,
    "b": 96
  },
  "hsl": {
    "h": 59.583,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.92667,
    "c": 0.16227,
    "h": 108.8
  },
  "luminance": 0.81103
}

Semantic roles & 50–950 ramp

primary
#F0EF60
secondary
#3334C1
accent
#08DF06
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0EF60

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

Preview Lab → · Contrast checker → · Palette generator →

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