#F0E960#F0E960

#F0E960 is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.4% C 0.156 H 106.3°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#F0E960
RGBrgb(240, 233, 96)
HSLhsl(57, 83%, 66%)
HSVhsv(57, 60%, 94%)
CMYKcmyk(0%, 2.9%, 60%, 5.9%)
CIE-LABlab(90.62, -14.16, 65.56)
CIE-LCHlch(90.62, 67.08, 102.19°)
OKLaboklab(91.43% -0.044 0.15)
OKLCHoklch(91.43% 0.156 106.3)
XYZxyz(67.1876, 77.6498, 22.5128)
Luminance0.7765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E960 #6067F0
analogous
#F0A160 #F0E960 #AFF060
triadic
#F0E960 #60F0E9 #E960F0
tetradic
#F0E960 #60F0A1 #6067F0 #F060AF
square
#F0E960 #60F0A1 #6067F0 #F060AF
split-complementary
#F0E960 #60AFF0 #A160F0
monochromatic
#C3BB12 #EBE128 #F0E960 #F5F198 #FBF8D0

Accessibility & contrast

On white

1.27
#F0E960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.53
#F0E960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E960
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E960#FFFFFF#000000##000000
##F0E9601.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE150
Deuteranopia (green-blind)
#FEE768
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f0e960;
/* rgb */ color: rgb(240, 233, 96);
/* oklch */ color: oklch(91.4% 0.156 106.3);
Tailwind
colors: {
  custom: {
    50: '#f8ef92',
    500: '#f0e960',
    950: '#000000',
  },
}
SCSS
$custom: #f0e960;
$custom-light: #f8ef92;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e960",
  "rgb": {
    "r": 240,
    "g": 233,
    "b": 96
  },
  "hsl": {
    "h": 57.083,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.91425,
    "c": 0.15634,
    "h": 106.3
  },
  "luminance": 0.77648
}

Semantic roles & 50–950 ramp

primary
#F0E960
secondary
#333AC1
accent
#11DF06
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0E960

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

Preview Lab → · Contrast checker → · Palette generator →

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