#F0E26D#F0E26D

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

Color values

HEX#F0E26D
RGBrgb(240, 226, 109)
HSLhsl(54, 81%, 68%)
HSVhsv(54, 55%, 94%)
CMYKcmyk(0%, 5.8%, 54.6%, 5.9%)
CIE-LABlab(88.93, -9.78, 57.99)
CIE-LCHlch(88.93, 58.81, 99.57°)
OKLaboklab(90.12% -0.0301 0.1354)
OKLCHoklch(90.12% 0.139 102.5)
XYZxyz(65.8940, 74.0244, 25.2822)
Luminance0.7402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E26D #6D7BF0
analogous
#F0A06D #F0E26D #BCF06D
triadic
#F0E26D #6DF0E2 #E26DF0
tetradic
#F0E26D #6DF0A0 #6D7BF0 #F06DBC
square
#F0E26D #6DF0A0 #6D7BF0 #F06DBC
split-complementary
#F0E26D #6DBCF0 #A06DF0
monochromatic
#CDBA15 #EAD736 #F0E26D #F6EDA4 #FBF8DC

Accessibility & contrast

On white

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

On black

15.80
#F0E26D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E26D
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E26D#FFFFFF#000000##000000
##F0E26D1.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0e26d;
/* rgb */ color: rgb(240, 226, 109);
/* oklch */ color: oklch(90.1% 0.139 102.5);
Tailwind
colors: {
  custom: {
    50: '#f7ea9a',
    500: '#f0e26d',
    950: '#000000',
  },
}
SCSS
$custom: #f0e26d;
$custom-light: #f7ea9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e26d",
  "rgb": {
    "r": 240,
    "g": 226,
    "b": 109
  },
  "hsl": {
    "h": 53.588,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90123,
    "c": 0.13869,
    "h": 102.5
  },
  "luminance": 0.74022
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0E26D

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

Preview Lab → · Contrast checker → · Palette generator →

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