#F0EA70#F0EA70

#F0EA70 is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 91.8% C 0.144 H 106.3°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#F0EA70
RGBrgb(240, 234, 112)
HSLhsl(57, 81%, 69%)
HSVhsv(57, 53%, 94%)
CMYKcmyk(0%, 2.5%, 53.3%, 5.9%)
CIE-LABlab(91.03, -13.51, 59.05)
CIE-LCHlch(91.03, 60.58, 102.89°)
OKLaboklab(91.8% -0.0404 0.138)
OKLCHoklch(91.8% 0.144 106.3)
XYZxyz(68.2846, 78.5428, 26.8894)
Luminance0.7854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EA70 #7076F0
analogous
#F0AA70 #F0EA70 #B6F070
triadic
#F0EA70 #70F0EA #EA70F0
tetradic
#F0EA70 #70F0AA #7076F0 #F070B6
square
#F0EA70 #70F0AA #7076F0 #F070B6
split-complementary
#F0EA70 #70B6F0 #AA70F0
monochromatic
#D0C716 #EAE239 #F0EA70 #F6F2A7 #FCFADF

Accessibility & contrast

On white

1.26
#F0EA70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#F0EA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EA70
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EA70#FFFFFF#000000##000000
##F0EA701.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE264
Deuteranopia (green-blind)
#FEE876
Tritanopia (blue-blind)
#FFDDCF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f0ea70;
/* rgb */ color: rgb(240, 234, 112);
/* oklch */ color: oklch(91.8% 0.144 106.3);
Tailwind
colors: {
  custom: {
    50: '#f7f09c',
    500: '#f0ea70',
    950: '#000000',
  },
}
SCSS
$custom: #f0ea70;
$custom-light: #f7f09c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ea70",
  "rgb": {
    "r": 240,
    "g": 234,
    "b": 112
  },
  "hsl": {
    "h": 57.188,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.91797,
    "c": 0.14378,
    "h": 106.3
  },
  "luminance": 0.78541
}

Semantic roles & 50–950 ramp

primary
#F0EA70
secondary
#3B42C9
accent
#12DD08
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F0EA70

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

Preview Lab → · Contrast checker → · Palette generator →

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