#F0E760#F0E760

#F0E760 is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 91.0% C 0.154 H 105.5°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#F0E760
RGBrgb(240, 231, 96)
HSLhsl(56, 83%, 66%)
HSVhsv(56, 60%, 94%)
CMYKcmyk(0%, 3.7%, 60%, 5.9%)
CIE-LABlab(90.10, -13.18, 65.00)
CIE-LCHlch(90.10, 66.32, 101.46°)
OKLaboklab(91.01% -0.0412 0.1488)
OKLCHoklch(91.01% 0.154 105.5)
XYZxyz(66.6247, 76.5239, 22.3251)
Luminance0.7652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E760 #6069F0
analogous
#F09F60 #F0E760 #B1F060
triadic
#F0E760 #60F0E7 #E760F0
tetradic
#F0E760 #60F09F #6069F0 #F060B1
square
#F0E760 #60F09F #6069F0 #F060B1
split-complementary
#F0E760 #60B1F0 #9F60F0
monochromatic
#C3B812 #EBDF28 #F0E760 #F5EF98 #FBF8D0

Accessibility & contrast

On white

1.29
#F0E760 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.30
#F0E760 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E760
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E760#FFFFFF#000000##000000
##F0E7601.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF50
Deuteranopia (green-blind)
#FDE568
Tritanopia (blue-blind)
#FFD9CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f0e760;
/* rgb */ color: rgb(240, 231, 96);
/* oklch */ color: oklch(91.0% 0.154 105.5);
Tailwind
colors: {
  custom: {
    50: '#f8ee92',
    500: '#f0e760',
    950: '#000000',
  },
}
SCSS
$custom: #f0e760;
$custom-light: #f8ee92;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e760",
  "rgb": {
    "r": 240,
    "g": 231,
    "b": 96
  },
  "hsl": {
    "h": 56.25,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.91013,
    "c": 0.15443,
    "h": 105.5
  },
  "luminance": 0.76522
}

Semantic roles & 50–950 ramp

primary
#F0E760
secondary
#333CC1
accent
#14DF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E760

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

Preview Lab → · Contrast checker → · Palette generator →

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