#F0EA78#F0EA78

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

Color values

HEX#F0EA78
RGBrgb(240, 234, 120)
HSLhsl(57, 80%, 71%)
HSVhsv(57, 50%, 94%)
CMYKcmyk(0%, 2.5%, 50%, 5.9%)
CIE-LABlab(91.11, -12.86, 55.49)
CIE-LCHlch(91.11, 56.96, 103.05°)
OKLaboklab(91.89% -0.0378 0.131)
OKLCHoklch(91.89% 0.136 106.1)
XYZxyz(68.7499, 78.7289, 29.3403)
Luminance0.7873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EA78 #787EF0
analogous
#F0AE78 #F0EA78 #BAF078
triadic
#F0EA78 #78F0EA #EA78F0
tetradic
#F0EA78 #78F0AE #787EF0 #F078BA
square
#F0EA78 #78F0AE #787EF0 #F078BA
split-complementary
#F0EA78 #78BAF0 #AE78F0
monochromatic
#D6CC18 #EAE141 #F0EA78 #F6F3AF #FCFBE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0EA78#FFFFFF#000000##000000
##F0EA781.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)
#FAE36E
Deuteranopia (green-blind)
#FDE87E
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f0ea78;
/* rgb */ color: rgb(240, 234, 120);
/* oklch */ color: oklch(91.9% 0.136 106.1);
Tailwind
colors: {
  custom: {
    50: '#f7f0a2',
    500: '#f0ea78',
    950: '#000000',
  },
}
SCSS
$custom: #f0ea78;
$custom-light: #f7f0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ea78",
  "rgb": {
    "r": 240,
    "g": 234,
    "b": 120
  },
  "hsl": {
    "h": 57,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91891,
    "c": 0.13637,
    "h": 106.1
  },
  "luminance": 0.78727
}

Semantic roles & 50–950 ramp

primary
#F0EA78
secondary
#4249CA
accent
#14DC09
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #F0EA78

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

Preview Lab → · Contrast checker → · Palette generator →

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