#F0EE78#F0EE78

#F0EE78 is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.7% C 0.141 H 108.0°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#F0EE78
RGBrgb(240, 238, 120)
HSLhsl(59, 80%, 71%)
HSVhsv(59, 50%, 94%)
CMYKcmyk(0%, 0.8%, 50%, 5.9%)
CIE-LABlab(92.15, -14.82, 56.72)
CIE-LCHlch(92.15, 58.62, 104.65°)
OKLaboklab(92.72% -0.0434 0.1337)
OKLCHoklch(92.72% 0.141 108)
XYZxyz(69.9016, 81.0322, 29.7242)
Luminance0.8103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EE78 #787AF0
analogous
#F0B278 #F0EE78 #B6F078
triadic
#F0EE78 #78F0EE #EE78F0
tetradic
#F0EE78 #78F0B2 #787AF0 #F078B6
square
#F0EE78 #78F0B2 #787AF0 #F078B6
split-complementary
#F0EE78 #78B6F0 #B278F0
monochromatic
#D6D318 #EAE741 #F0EE78 #F6F5AF #FCFCE3

Accessibility & contrast

On white

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

On black

17.21
#F0EE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EE78
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EE78#FFFFFF#000000##000000
##F0EE781.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE66D
Deuteranopia (green-blind)
#FFEB7E
Tritanopia (blue-blind)
#FEE1D3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f0ee78;
/* rgb */ color: rgb(240, 238, 120);
/* oklch */ color: oklch(92.7% 0.141 108.0);
Tailwind
colors: {
  custom: {
    50: '#f7f3a2',
    500: '#f0ee78',
    950: '#000000',
  },
}
SCSS
$custom: #f0ee78;
$custom-light: #f7f3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ee78",
  "rgb": {
    "r": 240,
    "g": 238,
    "b": 120
  },
  "hsl": {
    "h": 59,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92715,
    "c": 0.14056,
    "h": 108
  },
  "luminance": 0.8103
}

Semantic roles & 50–950 ramp

primary
#F0EE78
secondary
#4245CA
accent
#0DDC09
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F0EE78

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

Preview Lab → · Contrast checker → · Palette generator →

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