#F0E260#F0E260

#F0E260 is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 90.0% C 0.150 H 103.2°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#F0E260
RGBrgb(240, 226, 96)
HSLhsl(54, 83%, 66%)
HSVhsv(54, 60%, 94%)
CMYKcmyk(0%, 5.8%, 60%, 5.9%)
CIE-LABlab(88.81, -10.70, 63.59)
CIE-LCHlch(88.81, 64.48, 99.55°)
OKLaboklab(89.99% -0.0342 0.1458)
OKLCHoklch(89.99% 0.15 103.2)
XYZxyz(65.2452, 73.7649, 21.8653)
Luminance0.7376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E260 #606EF0
analogous
#F09A60 #F0E260 #B6F060
triadic
#F0E260 #60F0E2 #E260F0
tetradic
#F0E260 #60F09A #606EF0 #F060B6
square
#F0E260 #60F09A #606EF0 #F060B6
split-complementary
#F0E260 #60B6F0 #9A60F0
monochromatic
#C3B212 #EBD828 #F0E260 #F5EC98 #FBF6D0

Accessibility & contrast

On white

1.33
#F0E260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.75
#F0E260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E260
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E260#FFFFFF#000000##000000
##F0E2601.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB51
Deuteranopia (green-blind)
#F9E267
Tritanopia (blue-blind)
#FFD4C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f0e260;
/* rgb */ color: rgb(240, 226, 96);
/* oklch */ color: oklch(90.0% 0.150 103.2);
Tailwind
colors: {
  custom: {
    50: '#f8ea92',
    500: '#f0e260',
    950: '#000000',
  },
}
SCSS
$custom: #f0e260;
$custom-light: #f8ea92;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e260",
  "rgb": {
    "r": 240,
    "g": 226,
    "b": 96
  },
  "hsl": {
    "h": 54.167,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.89986,
    "c": 0.14978,
    "h": 103.2
  },
  "luminance": 0.73763
}

Semantic roles & 50–950 ramp

primary
#F0E260
secondary
#3341C1
accent
#1BDF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E260

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

Preview Lab → · Contrast checker → · Palette generator →

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