#F0EE5C#F0EE5C

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

Color values

HEX#F0EE5C
RGBrgb(240, 238, 92)
HSLhsl(59, 83%, 65%)
HSVhsv(59, 62%, 94%)
CMYKcmyk(0%, 0.8%, 61.7%, 5.9%)
CIE-LABlab(91.89, -16.86, 68.57)
CIE-LCHlch(91.89, 70.61, 103.82°)
OKLaboklab(92.42% -0.0521 0.1558)
OKLCHoklch(92.42% 0.164 108.5)
XYZxyz(68.4437, 80.4490, 22.0460)
Luminance0.8045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EE5C #5C5EF0
analogous
#F0A45C #F0EE5C #A8F05C
triadic
#F0EE5C #5CF0EE #EE5CF0
tetradic
#F0EE5C #5CF0A4 #5C5EF0 #F05CA8
square
#F0EE5C #5CF0A4 #5C5EF0 #F05CA8
split-complementary
#F0EE5C #5CA8F0 #A45CF0
monochromatic
#C0BE12 #EBE824 #F0EE5C #F5F494 #FAFACC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0EE5C#FFFFFF#000000##000000
##F0EE5C1.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)
#FFE54A
Deuteranopia (green-blind)
#FFEA65
Tritanopia (blue-blind)
#FFE0D0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f0ee5c;
/* rgb */ color: rgb(240, 238, 92);
/* oklch */ color: oklch(92.4% 0.164 108.5);
Tailwind
colors: {
  custom: {
    50: '#f8f390',
    500: '#f0ee5c',
    950: '#000000',
  },
}
SCSS
$custom: #f0ee5c;
$custom-light: #f8f390;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ee5c",
  "rgb": {
    "r": 240,
    "g": 238,
    "b": 92
  },
  "hsl": {
    "h": 59.189,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.92424,
    "c": 0.16431,
    "h": 108.5
  },
  "luminance": 0.80447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0EE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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