#F0E07A#F0E07A

#F0E07A is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.9% C 0.125 H 100.5°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#F0E07A
RGBrgb(240, 224, 122)
HSLhsl(52, 80%, 71%)
HSVhsv(52, 49%, 94%)
CMYKcmyk(0%, 6.7%, 49.2%, 5.9%)
CIE-LABlab(88.56, -7.71, 51.51)
CIE-LCHlch(88.56, 52.08, 98.51°)
OKLaboklab(89.88% -0.0228 0.1225)
OKLCHoklch(89.88% 0.125 100.5)
XYZxyz(66.1056, 73.2440, 29.0639)
Luminance0.7324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E07A #7A8AF0
analogous
#F0A57A #F0E07A #C5F07A
triadic
#F0E07A #7AF0E0 #E07AF0
tetradic
#F0E07A #7AF0A5 #7A8AF0 #F07AC5
square
#F0E07A #7AF0A5 #7A8AF0 #F07AC5
split-complementary
#F0E07A #7AC5F0 #A57AF0
monochromatic
#D7BD18 #EAD343 #F0E07A #F6EDB1 #FCF9E4

Accessibility & contrast

On white

1.34
#F0E07A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.65
#F0E07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E07A
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E07A#FFFFFF#000000##000000
##F0E07A1.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB71
Deuteranopia (green-blind)
#F5E17E
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f0e07a;
/* rgb */ color: rgb(240, 224, 122);
/* oklch */ color: oklch(89.9% 0.125 100.5);
Tailwind
colors: {
  custom: {
    50: '#f7e9a2',
    500: '#f0e07a',
    950: '#000000',
  },
}
SCSS
$custom: #f0e07a;
$custom-light: #f7e9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e07a",
  "rgb": {
    "r": 240,
    "g": 224,
    "b": 122
  },
  "hsl": {
    "h": 51.864,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89876,
    "c": 0.12458,
    "h": 100.5
  },
  "luminance": 0.73242
}

Semantic roles & 50–950 ramp

primary
#F0E07A
secondary
#4456CA
accent
#26DC09
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #F0E07A

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

Preview Lab → · Contrast checker → · Palette generator →

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