#F0E26A#F0E26A

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

Color values

HEX#F0E26A
RGBrgb(240, 226, 106)
HSLhsl(54, 82%, 68%)
HSVhsv(54, 56%, 94%)
CMYKcmyk(0%, 5.8%, 55.8%, 5.9%)
CIE-LABlab(88.90, -10.00, 59.31)
CIE-LCHlch(88.90, 60.15, 99.57°)
OKLaboklab(90.09% -0.0311 0.1379)
OKLCHoklch(90.09% 0.141 102.7)
XYZxyz(65.7353, 73.9609, 24.4461)
Luminance0.7396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E26A #6A78F0
analogous
#F09F6A #F0E26A #BBF06A
triadic
#F0E26A #6AF0E2 #E26AF0
tetradic
#F0E26A #6AF09F #6A78F0 #F06ABB
square
#F0E26A #6AF09F #6A78F0 #F06ABB
split-complementary
#F0E26A #6ABBF0 #9F6AF0
monochromatic
#CBB814 #EAD732 #F0E26A #F6EDA2 #FBF8D9

Accessibility & contrast

On white

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

On black

15.79
#F0E26A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E26A
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E26A#FFFFFF#000000##000000
##F0E26A1.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC5E
Deuteranopia (green-blind)
#F8E270
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f0e26a;
/* rgb */ color: rgb(240, 226, 106);
/* oklch */ color: oklch(90.1% 0.141 102.7);
Tailwind
colors: {
  custom: {
    50: '#f8ea98',
    500: '#f0e26a',
    950: '#000000',
  },
}
SCSS
$custom: #f0e26a;
$custom-light: #f8ea98;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e26a",
  "rgb": {
    "r": 240,
    "g": 226,
    "b": 106
  },
  "hsl": {
    "h": 53.731,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.9009,
    "c": 0.14135,
    "h": 102.7
  },
  "luminance": 0.73959
}

Semantic roles & 50–950 ramp

primary
#F0E26A
secondary
#3646C8
accent
#1EDE07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E26A

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

Preview Lab → · Contrast checker → · Palette generator →

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