#F0EA79#F0EA79

#F0EA79 is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.9% C 0.135 H 106.0°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#F0EA79
RGBrgb(240, 234, 121)
HSLhsl(57, 80%, 71%)
HSVhsv(57, 50%, 94%)
CMYKcmyk(0%, 2.5%, 49.6%, 5.9%)
CIE-LABlab(91.12, -12.77, 55.04)
CIE-LCHlch(91.12, 56.51, 103.06°)
OKLaboklab(91.9% -0.0374 0.1301)
OKLCHoklch(91.9% 0.135 106)
XYZxyz(68.8109, 78.7533, 29.6616)
Luminance0.7875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EA79 #797FF0
analogous
#F0AE79 #F0EA79 #BAF079
triadic
#F0EA79 #79F0EA #EA79F0
tetradic
#F0EA79 #79F0AE #797FF0 #F079BA
square
#F0EA79 #79F0AE #797FF0 #F079BA
split-complementary
#F0EA79 #79BAF0 #AE79F0
monochromatic
#D7CD18 #EAE142 #F0EA79 #F6F3B0 #FCFBE3

Accessibility & contrast

On white

1.25
#F0EA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.75
#F0EA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EA79
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EA79#FFFFFF#000000##000000
##F0EA791.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE36F
Deuteranopia (green-blind)
#FDE87E
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f0ea79;
/* rgb */ color: rgb(240, 234, 121);
/* oklch */ color: oklch(91.9% 0.135 106.0);
Tailwind
colors: {
  custom: {
    50: '#f7f0a2',
    500: '#f0ea79',
    950: '#000000',
  },
}
SCSS
$custom: #f0ea79;
$custom-light: #f7f0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ea79",
  "rgb": {
    "r": 240,
    "g": 234,
    "b": 121
  },
  "hsl": {
    "h": 56.975,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91904,
    "c": 0.13541,
    "h": 106
  },
  "luminance": 0.78751
}

Semantic roles & 50–950 ramp

primary
#F0EA79
secondary
#434ACA
accent
#14DC09
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #F0EA79

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

Preview Lab → · Contrast checker → · Palette generator →

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