#F0EE42#F0EE42

#F0EE42 is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.2% C 0.181 H 108.8°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#F0EE42
RGBrgb(240, 238, 66)
HSLhsl(59, 85%, 60%)
HSVhsv(59, 73%, 94%)
CMYKcmyk(0%, 0.8%, 72.5%, 5.9%)
CIE-LABlab(91.72, -18.21, 77.91)
CIE-LCHlch(91.72, 80.01, 103.16°)
OKLaboklab(92.23% -0.0584 0.1714)
OKLCHoklch(92.23% 0.181 108.8)
XYZxyz(67.4956, 80.0698, 17.0528)
Luminance0.8007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EE42 #4244F0
analogous
#F09742 #F0EE42 #9BF042
triadic
#F0EE42 #42F0EE #EE42F0
tetradic
#F0EE42 #42F097 #4244F0 #F0429B
square
#F0EE42 #42F097 #4244F0 #F0429B
split-complementary
#F0EE42 #429BF0 #9742F0
monochromatic
#AAA80E #E3E012 #F0EE42 #F4F37B #F9F8B3

Accessibility & contrast

On white

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

On black

17.01
#F0EE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EE42
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EE42#FFFFFF#000000##000000
##F0EE421.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE41E
Deuteranopia (green-blind)
#FFEA4F
Tritanopia (blue-blind)
#FFDFCD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f0ee42;
/* rgb */ color: rgb(240, 238, 66);
/* oklch */ color: oklch(92.2% 0.181 108.8);
Tailwind
colors: {
  custom: {
    50: '#f9f382',
    500: '#f0ee42',
    950: '#000000',
  },
}
SCSS
$custom: #f0ee42;
$custom-light: #f9f382;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ee42",
  "rgb": {
    "r": 240,
    "g": 238,
    "b": 66
  },
  "hsl": {
    "h": 59.31,
    "s": 85.294,
    "l": 60
  },
  "oklch": {
    "l": 0.92234,
    "c": 0.18109,
    "h": 108.8
  },
  "luminance": 0.80068
}

Semantic roles & 50–950 ramp

primary
#F0EE42
secondary
#2B2DAB
accent
#2FFC2C
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#18160B
muted
#86857E

Preview Lab

Preview with #F0EE42

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

Preview Lab → · Contrast checker → · Palette generator →

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