#F0E26B#F0E26B

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

Color values

HEX#F0E26B
RGBrgb(240, 226, 107)
HSLhsl(54, 82%, 68%)
HSVhsv(54, 55%, 94%)
CMYKcmyk(0%, 5.8%, 55.4%, 5.9%)
CIE-LABlab(88.91, -9.93, 58.87)
CIE-LCHlch(88.91, 59.71, 99.57°)
OKLaboklab(90.1% -0.0307 0.1371)
OKLCHoklch(90.1% 0.14 102.6)
XYZxyz(65.7876, 73.9819, 24.7216)
Luminance0.7398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E26B #6B79F0
analogous
#F09F6B #F0E26B #BBF06B
triadic
#F0E26B #6BF0E2 #E26BF0
tetradic
#F0E26B #6BF09F #6B79F0 #F06BBB
square
#F0E26B #6BF09F #6B79F0 #F06BBB
split-complementary
#F0E26B #6BBBF0 #9F6BF0
monochromatic
#CCB915 #EAD733 #F0E26B #F6EDA3 #FBF8DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0E26B#FFFFFF#000000##000000
##F0E26B1.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)
#F4DC5F
Deuteranopia (green-blind)
#F8E271
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f0e26b;
/* rgb */ color: rgb(240, 226, 107);
/* oklch */ color: oklch(90.1% 0.140 102.6);
Tailwind
colors: {
  custom: {
    50: '#f8ea99',
    500: '#f0e26b',
    950: '#000000',
  },
}
SCSS
$custom: #f0e26b;
$custom-light: #f8ea99;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e26b",
  "rgb": {
    "r": 240,
    "g": 226,
    "b": 107
  },
  "hsl": {
    "h": 53.684,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.90101,
    "c": 0.14047,
    "h": 102.6
  },
  "luminance": 0.7398
}

Semantic roles & 50–950 ramp

primary
#F0E26B
secondary
#3746C8
accent
#1EDE08
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E26B

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

Preview Lab → · Contrast checker → · Palette generator →

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