#F0ED47#F0ED47

#F0ED47 is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 92.1% C 0.177 H 108.4°. Best body text is #000000 at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#F0ED47
RGBrgb(240, 237, 71)
HSLhsl(59, 85%, 61%)
HSVhsv(59, 70%, 94%)
CMYKcmyk(0%, 1.2%, 70.4%, 5.9%)
CIE-LABlab(91.48, -17.51, 76.03)
CIE-LCHlch(91.48, 78.02, 102.97°)
OKLaboklab(92.06% -0.0559 0.1683)
OKLCHoklch(92.06% 0.177 108.4)
XYZxyz(67.3592, 79.5507, 17.7666)
Luminance0.7955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0ED47 #474AF0
analogous
#F09847 #F0ED47 #9EF047
triadic
#F0ED47 #47F0ED #ED47F0
tetradic
#F0ED47 #47F098 #474AF0 #F0479E
square
#F0ED47 #47F098 #474AF0 #F0479E
split-complementary
#F0ED47 #479EF0 #9847F0
monochromatic
#AEAC0E #E7E313 #F0ED47 #F5F380 #F9F8B8

Accessibility & contrast

On white

1.24
#F0ED47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.91
#F0ED47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0ED47
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0ED47#FFFFFF#000000##000000
##F0ED471.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE329
Deuteranopia (green-blind)
#FFE953
Tritanopia (blue-blind)
#FFDECD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f0ed47;
/* rgb */ color: rgb(240, 237, 71);
/* oklch */ color: oklch(92.1% 0.177 108.4);
Tailwind
colors: {
  custom: {
    50: '#f9f285',
    500: '#f0ed47',
    950: '#000000',
  },
}
SCSS
$custom: #f0ed47;
$custom-light: #f9f285;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ed47",
  "rgb": {
    "r": 240,
    "g": 237,
    "b": 71
  },
  "hsl": {
    "h": 58.935,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.92056,
    "c": 0.17735,
    "h": 108.4
  },
  "luminance": 0.79549
}

Semantic roles & 50–950 ramp

primary
#F0ED47
secondary
#2C2FAF
accent
#08E104
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #F0ED47

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

Preview Lab → · Contrast checker → · Palette generator →

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