#F0E06A#F0E06A

#F0E06A is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.7% C 0.140 H 101.7°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#F0E06A
RGBrgb(240, 224, 106)
HSLhsl(53, 82%, 68%)
HSVhsv(53, 56%, 94%)
CMYKcmyk(0%, 6.7%, 55.8%, 5.9%)
CIE-LABlab(88.39, -9.00, 58.73)
CIE-LCHlch(88.39, 59.41, 98.72°)
OKLaboklab(89.68% -0.0282 0.1366)
OKLCHoklch(89.68% 0.14 101.7)
XYZxyz(65.1946, 72.8796, 24.2659)
Luminance0.7288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E06A #6A7AF0
analogous
#F09D6A #F0E06A #BDF06A
triadic
#F0E06A #6AF0E0 #E06AF0
tetradic
#F0E06A #6AF09D #6A7AF0 #F06ABD
square
#F0E06A #6AF09D #6A7AF0 #F06ABD
split-complementary
#F0E06A #6ABDF0 #9D6AF0
monochromatic
#CBB514 #EAD432 #F0E06A #F6ECA2 #FBF7D9

Accessibility & contrast

On white

1.35
#F0E06A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.58
#F0E06A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E06A
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E06A#FFFFFF#000000##000000
##F0E06A1.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA5E
Deuteranopia (green-blind)
#F7E170
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f0e06a;
/* rgb */ color: rgb(240, 224, 106);
/* oklch */ color: oklch(89.7% 0.140 101.7);
Tailwind
colors: {
  custom: {
    50: '#f8e998',
    500: '#f0e06a',
    950: '#000000',
  },
}
SCSS
$custom: #f0e06a;
$custom-light: #f8e998;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e06a",
  "rgb": {
    "r": 240,
    "g": 224,
    "b": 106
  },
  "hsl": {
    "h": 52.836,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.89682,
    "c": 0.13952,
    "h": 101.7
  },
  "luminance": 0.72877
}

Semantic roles & 50–950 ramp

primary
#F0E06A
secondary
#3648C8
accent
#21DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E06A

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

Preview Lab → · Contrast checker → · Palette generator →

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