#F0E26E#F0E26E

#F0E26E is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.1% C 0.138 H 102.5°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#F0E26E
RGBrgb(240, 226, 110)
HSLhsl(54, 81%, 69%)
HSVhsv(54, 54%, 94%)
CMYKcmyk(0%, 5.8%, 54.2%, 5.9%)
CIE-LABlab(88.94, -9.70, 57.55)
CIE-LCHlch(88.94, 58.36, 99.57°)
OKLaboklab(90.14% -0.0298 0.1345)
OKLCHoklch(90.14% 0.138 102.5)
XYZxyz(65.9481, 74.0461, 25.5673)
Luminance0.7404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E26E #6E7CF0
analogous
#F0A16E #F0E26E #BDF06E
triadic
#F0E26E #6EF0E2 #E26EF0
tetradic
#F0E26E #6EF0A1 #6E7CF0 #F06EBD
square
#F0E26E #6EF0A1 #6E7CF0 #F06EBD
split-complementary
#F0E26E #6EBDF0 #A16EF0
monochromatic
#CEBA15 #EAD737 #F0E26E #F6EDA5 #FBF8DD

Accessibility & contrast

On white

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

On black

15.81
#F0E26E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E26E
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E26E#FFFFFF#000000##000000
##F0E26E1.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC63
Deuteranopia (green-blind)
#F8E274
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f0e26e;
/* rgb */ color: rgb(240, 226, 110);
/* oklch */ color: oklch(90.1% 0.138 102.5);
Tailwind
colors: {
  custom: {
    50: '#f7ea9b',
    500: '#f0e26e',
    950: '#000000',
  },
}
SCSS
$custom: #f0e26e;
$custom-light: #f7ea9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e26e",
  "rgb": {
    "r": 240,
    "g": 226,
    "b": 110
  },
  "hsl": {
    "h": 53.538,
    "s": 81.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.90135,
    "c": 0.13779,
    "h": 102.5
  },
  "luminance": 0.74044
}

Semantic roles & 50–950 ramp

primary
#F0E26E
secondary
#3949C9
accent
#1FDE08
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E26E

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

Preview Lab → · Contrast checker → · Palette generator →

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