#F0EF71#F0EF71

#F0EF71 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.8% C 0.148 H 108.5°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#F0EF71
RGBrgb(240, 239, 113)
HSLhsl(60, 81%, 69%)
HSVhsv(60, 53%, 94%)
CMYKcmyk(0%, 0.4%, 52.9%, 5.9%)
CIE-LABlab(92.33, -15.88, 60.11)
CIE-LCHlch(92.33, 62.17, 104.80°)
OKLaboklab(92.84% -0.0471 0.1404)
OKLCHoklch(92.84% 0.148 108.5)
XYZxyz(69.7841, 81.4523, 27.6654)
Luminance0.8145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EF71 #7172F0
analogous
#F0B071 #F0EF71 #B1F071
triadic
#F0EF71 #71F0EF #EF71F0
tetradic
#F0EF71 #71F0B0 #7172F0 #F071B1
square
#F0EF71 #71F0B0 #7172F0 #F071B1
split-complementary
#F0EF71 #71B1F0 #B071F0
monochromatic
#D1CF16 #EAE93A #F0EF71 #F6F5A8 #FCFBE0

Accessibility & contrast

On white

1.21
#F0EF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#F0EF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EF71
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EF71#FFFFFF#000000##000000
##F0EF711.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE665
Deuteranopia (green-blind)
#FFEB78
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f0ef71;
/* rgb */ color: rgb(240, 239, 113);
/* oklch */ color: oklch(92.8% 0.148 108.5);
Tailwind
colors: {
  custom: {
    50: '#f7f49d',
    500: '#f0ef71',
    950: '#000000',
  },
}
SCSS
$custom: #f0ef71;
$custom-light: #f7f49d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ef71",
  "rgb": {
    "r": 240,
    "g": 239,
    "b": 113
  },
  "hsl": {
    "h": 59.528,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.9284,
    "c": 0.14805,
    "h": 108.5
  },
  "luminance": 0.81451
}

Semantic roles & 50–950 ramp

primary
#F0EF71
secondary
#3C3DC9
accent
#0ADD08
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #F0EF71

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

Preview Lab → · Contrast checker → · Palette generator →

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