#F0EA71#F0EA71

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

Color values

HEX#F0EA71
RGBrgb(240, 234, 113)
HSLhsl(57, 81%, 69%)
HSVhsv(57, 53%, 94%)
CMYKcmyk(0%, 2.5%, 52.9%, 5.9%)
CIE-LABlab(91.04, -13.43, 58.61)
CIE-LCHlch(91.04, 60.13, 102.91°)
OKLaboklab(91.81% -0.0401 0.1371)
OKLCHoklch(91.81% 0.143 106.3)
XYZxyz(68.3406, 78.5652, 27.1842)
Luminance0.7856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EA71 #7177F0
analogous
#F0AB71 #F0EA71 #B7F071
triadic
#F0EA71 #71F0EA #EA71F0
tetradic
#F0EA71 #71F0AB #7177F0 #F071B7
square
#F0EA71 #71F0AB #7177F0 #F071B7
split-complementary
#F0EA71 #71B7F0 #AB71F0
monochromatic
#D1C816 #EAE23A #F0EA71 #F6F2A8 #FCFAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0EA71#FFFFFF#000000##000000
##F0EA711.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)
#FBE265
Deuteranopia (green-blind)
#FEE877
Tritanopia (blue-blind)
#FFDDCF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f0ea71;
/* rgb */ color: rgb(240, 234, 113);
/* oklch */ color: oklch(91.8% 0.143 106.3);
Tailwind
colors: {
  custom: {
    50: '#f7f09d',
    500: '#f0ea71',
    950: '#000000',
  },
}
SCSS
$custom: #f0ea71;
$custom-light: #f7f09d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ea71",
  "rgb": {
    "r": 240,
    "g": 234,
    "b": 113
  },
  "hsl": {
    "h": 57.165,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.91808,
    "c": 0.14289,
    "h": 106.3
  },
  "luminance": 0.78563
}

Semantic roles & 50–950 ramp

primary
#F0EA71
secondary
#3C43C9
accent
#12DD08
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #F0EA71

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

Preview Lab → · Contrast checker → · Palette generator →

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