#F0ED60#F0ED60

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

Color values

HEX#F0ED60
RGBrgb(240, 237, 96)
HSLhsl(59, 83%, 66%)
HSVhsv(59, 60%, 94%)
CMYKcmyk(0%, 1.2%, 60%, 5.9%)
CIE-LABlab(91.66, -16.12, 66.69)
CIE-LCHlch(91.66, 68.61, 103.59°)
OKLaboklab(92.25% -0.0496 0.1524)
OKLCHoklch(92.25% 0.16 108)
XYZxyz(68.3328, 79.9402, 22.8945)
Luminance0.7994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0ED60 #6063F0
analogous
#F0A560 #F0ED60 #ABF060
triadic
#F0ED60 #60F0ED #ED60F0
tetradic
#F0ED60 #60F0A5 #6063F0 #F060AB
square
#F0ED60 #60F0A5 #6063F0 #F060AB
split-complementary
#F0ED60 #60ABF0 #A560F0
monochromatic
#C3C012 #EBE728 #F0ED60 #F5F398 #FBFAD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0ED60#FFFFFF#000000##000000
##F0ED601.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)
#FFE44F
Deuteranopia (green-blind)
#FFEA68
Tritanopia (blue-blind)
#FFDFCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f0ed60;
/* rgb */ color: rgb(240, 237, 96);
/* oklch */ color: oklch(92.3% 0.160 108.0);
Tailwind
colors: {
  custom: {
    50: '#f8f293',
    500: '#f0ed60',
    950: '#000000',
  },
}
SCSS
$custom: #f0ed60;
$custom-light: #f8f293;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ed60",
  "rgb": {
    "r": 240,
    "g": 237,
    "b": 96
  },
  "hsl": {
    "h": 58.75,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.92252,
    "c": 0.16027,
    "h": 108
  },
  "luminance": 0.79938
}

Semantic roles & 50–950 ramp

primary
#F0ED60
secondary
#3336C1
accent
#0BDF06
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0ED60

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

Preview Lab → · Contrast checker → · Palette generator →

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