#F0EF47#F0EF47

#F0EF47 is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.5% C 0.179 H 109.1°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#F0EF47
RGBrgb(240, 239, 71)
HSLhsl(60, 85%, 61%)
HSVhsv(60, 70%, 94%)
CMYKcmyk(0%, 0.4%, 70.4%, 5.9%)
CIE-LABlab(92.00, -18.48, 76.53)
CIE-LCHlch(92.00, 78.73, 103.57°)
OKLaboklab(92.47% -0.0587 0.1694)
OKLCHoklch(92.47% 0.179 109.1)
XYZxyz(67.9415, 80.7153, 17.9607)
Luminance0.8071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EF47 #4748F0
analogous
#F09A47 #F0EF47 #9CF047
triadic
#F0EF47 #47F0EF #EF47F0
tetradic
#F0EF47 #47F09A #4748F0 #F0479C
square
#F0EF47 #47F09A #4748F0 #F0479C
split-complementary
#F0EF47 #479CF0 #9A47F0
monochromatic
#AEAD0E #E7E613 #F0EF47 #F5F480 #F9F9B8

Accessibility & contrast

On white

1.23
#F0EF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.14
#F0EF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EF47
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EF47#FFFFFF#000000##000000
##F0EF471.001.2317.1417.14
#FFFFFF1.231.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE528
Deuteranopia (green-blind)
#FFEB54
Tritanopia (blue-blind)
#FFE0CE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f0ef47;
/* rgb */ color: rgb(240, 239, 71);
/* oklch */ color: oklch(92.5% 0.179 109.1);
Tailwind
colors: {
  custom: {
    50: '#f9f485',
    500: '#f0ef47',
    950: '#000000',
  },
}
SCSS
$custom: #f0ef47;
$custom-light: #f9f485;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ef47",
  "rgb": {
    "r": 240,
    "g": 239,
    "b": 71
  },
  "hsl": {
    "h": 59.645,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.92473,
    "c": 0.17923,
    "h": 109.1
  },
  "luminance": 0.80713
}

Semantic roles & 50–950 ramp

primary
#F0EF47
secondary
#2C2DAF
accent
#05E104
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #F0EF47

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

Preview Lab → · Contrast checker → · Palette generator →

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