#F0EE70#F0EE70

#F0EE70 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.6% C 0.148 H 108.1°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#F0EE70
RGBrgb(240, 238, 112)
HSLhsl(59, 81%, 69%)
HSVhsv(59, 53%, 94%)
CMYKcmyk(0%, 0.8%, 53.3%, 5.9%)
CIE-LABlab(92.06, -15.47, 60.24)
CIE-LCHlch(92.06, 62.20, 104.40°)
OKLaboklab(92.62% -0.046 0.1406)
OKLCHoklch(92.62% 0.148 108.1)
XYZxyz(69.4362, 80.8460, 27.2732)
Luminance0.8084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EE70 #7072F0
analogous
#F0AE70 #F0EE70 #B2F070
triadic
#F0EE70 #70F0EE #EE70F0
tetradic
#F0EE70 #70F0AE #7072F0 #F070B2
square
#F0EE70 #70F0AE #7072F0 #F070B2
split-complementary
#F0EE70 #70B2F0 #AE70F0
monochromatic
#D0CD16 #EAE739 #F0EE70 #F6F5A7 #FCFBDF

Accessibility & contrast

On white

1.22
#F0EE70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.17
#F0EE70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EE70
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EE70#FFFFFF#000000##000000
##F0EE701.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE663
Deuteranopia (green-blind)
#FFEA77
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f0ee70;
/* rgb */ color: rgb(240, 238, 112);
/* oklch */ color: oklch(92.6% 0.148 108.1);
Tailwind
colors: {
  custom: {
    50: '#f7f39d',
    500: '#f0ee70',
    950: '#000000',
  },
}
SCSS
$custom: #f0ee70;
$custom-light: #f7f39d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ee70",
  "rgb": {
    "r": 240,
    "g": 238,
    "b": 112
  },
  "hsl": {
    "h": 59.063,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.92622,
    "c": 0.1479,
    "h": 108.1
  },
  "luminance": 0.80844
}

Semantic roles & 50–950 ramp

primary
#F0EE70
secondary
#3B3DC9
accent
#0BDD08
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0EE70

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

Preview Lab → · Contrast checker → · Palette generator →

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