#F0E46A#F0E46A

#F0E46A is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.5% C 0.143 H 103.7°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#F0E46A
RGBrgb(240, 228, 106)
HSLhsl(55, 82%, 68%)
HSVhsv(55, 56%, 94%)
CMYKcmyk(0%, 5%, 55.8%, 5.9%)
CIE-LABlab(89.42, -11.00, 59.90)
CIE-LCHlch(89.42, 60.90, 100.40°)
OKLaboklab(90.5% -0.0339 0.1392)
OKLCHoklch(90.5% 0.143 103.7)
XYZxyz(66.2823, 75.0550, 24.6285)
Luminance0.7505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E46A #6A76F0
analogous
#F0A16A #F0E46A #B9F06A
triadic
#F0E46A #6AF0E4 #E46AF0
tetradic
#F0E46A #6AF0A1 #6A76F0 #F06AB9
square
#F0E46A #6AF0A1 #6A76F0 #F06AB9
split-complementary
#F0E46A #6AB9F0 #A16AF0
monochromatic
#CBBB14 #EADA32 #F0E46A #F6EEA2 #FBF8D9

Accessibility & contrast

On white

1.31
#F0E46A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.01
#F0E46A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E46A
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E46A#FFFFFF#000000##000000
##F0E46A1.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD5E
Deuteranopia (green-blind)
#FAE470
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f0e46a;
/* rgb */ color: rgb(240, 228, 106);
/* oklch */ color: oklch(90.5% 0.143 103.7);
Tailwind
colors: {
  custom: {
    50: '#f8ec98',
    500: '#f0e46a',
    950: '#000000',
  },
}
SCSS
$custom: #f0e46a;
$custom-light: #f8ec98;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e46a",
  "rgb": {
    "r": 240,
    "g": 228,
    "b": 106
  },
  "hsl": {
    "h": 54.627,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90499,
    "c": 0.14323,
    "h": 103.7
  },
  "luminance": 0.75053
}

Semantic roles & 50–950 ramp

primary
#F0E46A
secondary
#3643C8
accent
#1BDE07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0E46A

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

Preview Lab → · Contrast checker → · Palette generator →

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