#F0EE5F#F0EE5F

#F0EE5F is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.5% C 0.162 H 108.4°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#F0EE5F
RGBrgb(240, 238, 95)
HSLhsl(59, 83%, 66%)
HSVhsv(59, 60%, 94%)
CMYKcmyk(0%, 0.8%, 60.4%, 5.9%)
CIE-LABlab(91.91, -16.68, 67.37)
CIE-LCHlch(91.91, 69.41, 103.90°)
OKLaboklab(92.45% -0.0512 0.1537)
OKLCHoklch(92.45% 0.162 108.4)
XYZxyz(68.5774, 80.5025, 22.7504)
Luminance0.8050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EE5F #5F61F0
analogous
#F0A55F #F0EE5F #AAF05F
triadic
#F0EE5F #5FF0EE #EE5FF0
tetradic
#F0EE5F #5FF0A5 #5F61F0 #F05FAA
square
#F0EE5F #5FF0A5 #5F61F0 #F05FAA
split-complementary
#F0EE5F #5FAAF0 #A55FF0
monochromatic
#C2C012 #EBE827 #F0EE5F #F5F497 #FAFACF

Accessibility & contrast

On white

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

On black

17.10
#F0EE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EE5F
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EE5F#FFFFFF#000000##000000
##F0EE5F1.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE54E
Deuteranopia (green-blind)
#FFEA68
Tritanopia (blue-blind)
#FFE0D0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f0ee5f;
/* rgb */ color: rgb(240, 238, 95);
/* oklch */ color: oklch(92.5% 0.162 108.4);
Tailwind
colors: {
  custom: {
    50: '#f8f392',
    500: '#f0ee5f',
    950: '#000000',
  },
}
SCSS
$custom: #f0ee5f;
$custom-light: #f8f392;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ee5f",
  "rgb": {
    "r": 240,
    "g": 238,
    "b": 95
  },
  "hsl": {
    "h": 59.172,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.9245,
    "c": 0.16203,
    "h": 108.4
  },
  "luminance": 0.80501
}

Semantic roles & 50–950 ramp

primary
#F0EE5F
secondary
#3335C0
accent
#09DF06
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0EE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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