#F0EA47#F0EA47

#F0EA47 is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.4% C 0.175 H 107.3°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#F0EA47
RGBrgb(240, 234, 71)
HSLhsl(58, 85%, 61%)
HSVhsv(58, 70%, 94%)
CMYKcmyk(0%, 2.5%, 70.4%, 5.9%)
CIE-LABlab(90.70, -16.05, 75.27)
CIE-LCHlch(90.70, 76.96, 102.03°)
OKLaboklab(91.43% -0.0518 0.1667)
OKLCHoklch(91.43% 0.175 107.3)
XYZxyz(66.4979, 77.8281, 17.4795)
Luminance0.7783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EA47 #474DF0
analogous
#F09547 #F0EA47 #A1F047
triadic
#F0EA47 #47F0EA #EA47F0
tetradic
#F0EA47 #47F095 #474DF0 #F047A1
square
#F0EA47 #47F095 #474DF0 #F047A1
split-complementary
#F0EA47 #47A1F0 #9547F0
monochromatic
#AEA90E #E7DF13 #F0EA47 #F5F080 #F9F7B8

Accessibility & contrast

On white

1.27
#F0EA47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.57
#F0EA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EA47
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EA47#FFFFFF#000000##000000
##F0EA471.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE12A
Deuteranopia (green-blind)
#FFE753
Tritanopia (blue-blind)
#FFDBCA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f0ea47;
/* rgb */ color: rgb(240, 234, 71);
/* oklch */ color: oklch(91.4% 0.175 107.3);
Tailwind
colors: {
  custom: {
    50: '#f9f084',
    500: '#f0ea47',
    950: '#000000',
  },
}
SCSS
$custom: #f0ea47;
$custom-light: #f9f084;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ea47",
  "rgb": {
    "r": 240,
    "g": 234,
    "b": 71
  },
  "hsl": {
    "h": 57.87,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.91433,
    "c": 0.17458,
    "h": 107.3
  },
  "luminance": 0.77826
}

Semantic roles & 50–950 ramp

primary
#F0EA47
secondary
#2C31AF
accent
#0CE104
background
#FFFFFC
surface
#FFFEF3
border
#D7D6CD
text
#18160C
muted
#86857F

Preview Lab

Preview with #F0EA47

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

Preview Lab → · Contrast checker → · Palette generator →

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