#F0E460#F0E460

#F0E460 is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.4% C 0.152 H 104.1°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#F0E460
RGBrgb(240, 228, 96)
HSLhsl(55, 83%, 66%)
HSVhsv(55, 60%, 94%)
CMYKcmyk(0%, 5%, 60%, 5.9%)
CIE-LABlab(89.33, -11.70, 64.15)
CIE-LCHlch(89.33, 65.21, 100.33°)
OKLaboklab(90.4% -0.037 0.147)
OKLCHoklch(90.4% 0.152 104.1)
XYZxyz(65.7922, 74.8589, 22.0476)
Luminance0.7486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E460 #606CF0
analogous
#F09C60 #F0E460 #B4F060
triadic
#F0E460 #60F0E4 #E460F0
tetradic
#F0E460 #60F09C #606CF0 #F060B4
square
#F0E460 #60F09C #606CF0 #F060B4
split-complementary
#F0E460 #60B4F0 #9C60F0
monochromatic
#C3B412 #EBDB28 #F0E460 #F5ED98 #FBF7D0

Accessibility & contrast

On white

1.31
#F0E460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#F0E460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E460
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E460#FFFFFF#000000##000000
##F0E4601.001.3115.9715.97
#FFFFFF1.311.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD51
Deuteranopia (green-blind)
#FBE367
Tritanopia (blue-blind)
#FFD6C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f0e460;
/* rgb */ color: rgb(240, 228, 96);
/* oklch */ color: oklch(90.4% 0.152 104.1);
Tailwind
colors: {
  custom: {
    50: '#f8ec92',
    500: '#f0e460',
    950: '#000000',
  },
}
SCSS
$custom: #f0e460;
$custom-light: #f8ec92;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e460",
  "rgb": {
    "r": 240,
    "g": 228,
    "b": 96
  },
  "hsl": {
    "h": 55,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.90396,
    "c": 0.15161,
    "h": 104.1
  },
  "luminance": 0.74857
}

Semantic roles & 50–950 ramp

primary
#F0E460
secondary
#333FC1
accent
#18DF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E460

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

Preview Lab → · Contrast checker → · Palette generator →

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