#F0EE5B#F0EE5B

#F0EE5B is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.4% C 0.165 H 108.5°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#F0EE5B
RGBrgb(240, 238, 91)
HSLhsl(59, 83%, 65%)
HSVhsv(59, 62%, 94%)
CMYKcmyk(0%, 0.8%, 62.1%, 5.9%)
CIE-LABlab(91.88, -16.93, 68.96)
CIE-LCHlch(91.88, 71.01, 103.79°)
OKLaboklab(92.42% -0.0523 0.1565)
OKLCHoklch(92.42% 0.165 108.5)
XYZxyz(68.4003, 80.4317, 21.8173)
Luminance0.8043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EE5B #5B5DF0
analogous
#F0A45B #F0EE5B #A7F05B
triadic
#F0EE5B #5BF0EE #EE5BF0
tetradic
#F0EE5B #5BF0A4 #5B5DF0 #F05BA7
square
#F0EE5B #5BF0A4 #5B5DF0 #F05BA7
split-complementary
#F0EE5B #5BA7F0 #A45BF0
monochromatic
#BFBD11 #EBE823 #F0EE5B #F5F493 #FAFACB

Accessibility & contrast

On white

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

On black

17.09
#F0EE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EE5B
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EE5B#FFFFFF#000000##000000
##F0EE5B1.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE548
Deuteranopia (green-blind)
#FFEA64
Tritanopia (blue-blind)
#FFE0CF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f0ee5b;
/* rgb */ color: rgb(240, 238, 91);
/* oklch */ color: oklch(92.4% 0.165 108.5);
Tailwind
colors: {
  custom: {
    50: '#f8f390',
    500: '#f0ee5b',
    950: '#000000',
  },
}
SCSS
$custom: #f0ee5b;
$custom-light: #f8f390;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ee5b",
  "rgb": {
    "r": 240,
    "g": 238,
    "b": 91
  },
  "hsl": {
    "h": 59.195,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.92415,
    "c": 0.16506,
    "h": 108.5
  },
  "luminance": 0.8043
}

Semantic roles & 50–950 ramp

primary
#F0EE5B
secondary
#3234BD
accent
#09E006
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0EE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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