#F0EF78#F0EF78

#F0EF78 is a very light, vivid yellow. Relative luminance 0.816; OKLCH L 92.9% C 0.142 H 108.4°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#F0EF78
RGBrgb(240, 239, 120)
HSLhsl(60, 80%, 71%)
HSVhsv(60, 50%, 94%)
CMYKcmyk(0%, 0.4%, 50%, 5.9%)
CIE-LABlab(92.41, -15.31, 57.02)
CIE-LCHlch(92.41, 59.04, 105.03°)
OKLaboklab(92.92% -0.0448 0.1344)
OKLCHoklch(92.92% 0.142 108.4)
XYZxyz(70.1935, 81.6161, 29.8215)
Luminance0.8161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EF78 #7879F0
analogous
#F0B378 #F0EF78 #B5F078
triadic
#F0EF78 #78F0EF #EF78F0
tetradic
#F0EF78 #78F0B3 #7879F0 #F078B5
square
#F0EF78 #78F0B3 #7879F0 #F078B5
split-complementary
#F0EF78 #78B5F0 #B378F0
monochromatic
#D6D418 #EAE841 #F0EF78 #F6F6AF #FCFCE3

Accessibility & contrast

On white

1.21
#F0EF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.32
#F0EF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EF78
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EF78#FFFFFF#000000##000000
##F0EF781.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76D
Deuteranopia (green-blind)
#FFEB7E
Tritanopia (blue-blind)
#FEE2D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f0ef78;
/* rgb */ color: rgb(240, 239, 120);
/* oklch */ color: oklch(92.9% 0.142 108.4);
Tailwind
colors: {
  custom: {
    50: '#f7f4a2',
    500: '#f0ef78',
    950: '#000000',
  },
}
SCSS
$custom: #f0ef78;
$custom-light: #f7f4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ef78",
  "rgb": {
    "r": 240,
    "g": 239,
    "b": 120
  },
  "hsl": {
    "h": 59.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92921,
    "c": 0.14163,
    "h": 108.4
  },
  "luminance": 0.81614
}

Semantic roles & 50–950 ramp

primary
#F0EF78
secondary
#4244CA
accent
#0BDC09
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F0EF78

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

Preview Lab → · Contrast checker → · Palette generator →

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