#F0E46E#F0E46E

#F0E46E is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.5% C 0.140 H 103.5°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#F0E46E
RGBrgb(240, 228, 110)
HSLhsl(54, 81%, 69%)
HSVhsv(54, 54%, 94%)
CMYKcmyk(0%, 5%, 54.2%, 5.9%)
CIE-LABlab(89.46, -10.69, 58.14)
CIE-LCHlch(89.46, 59.12, 100.42°)
OKLaboklab(90.54% -0.0326 0.1358)
OKLCHoklch(90.54% 0.14 103.5)
XYZxyz(66.4951, 75.1401, 25.7496)
Luminance0.7514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E46E #6E7AF0
analogous
#F0A36E #F0E46E #BBF06E
triadic
#F0E46E #6EF0E4 #E46EF0
tetradic
#F0E46E #6EF0A3 #6E7AF0 #F06EBB
square
#F0E46E #6EF0A3 #6E7AF0 #F06EBB
split-complementary
#F0E46E #6EBBF0 #A36EF0
monochromatic
#CEBD15 #EADA37 #F0E46E #F6EEA5 #FBF9DD

Accessibility & contrast

On white

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

On black

16.03
#F0E46E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E46E
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E46E#FFFFFF#000000##000000
##F0E46E1.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD62
Deuteranopia (green-blind)
#FAE474
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f0e46e;
/* rgb */ color: rgb(240, 228, 110);
/* oklch */ color: oklch(90.5% 0.140 103.5);
Tailwind
colors: {
  custom: {
    50: '#f7ec9b',
    500: '#f0e46e',
    950: '#000000',
  },
}
SCSS
$custom: #f0e46e;
$custom-light: #f7ec9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e46e",
  "rgb": {
    "r": 240,
    "g": 228,
    "b": 110
  },
  "hsl": {
    "h": 54.462,
    "s": 81.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.90543,
    "c": 0.13968,
    "h": 103.5
  },
  "luminance": 0.75138
}

Semantic roles & 50–950 ramp

primary
#F0E46E
secondary
#3947C9
accent
#1CDE08
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E46E

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

Preview Lab → · Contrast checker → · Palette generator →

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