#F0EB78#F0EB78

#F0EB78 is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 92.1% C 0.137 H 106.6°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#F0EB78
RGBrgb(240, 235, 120)
HSLhsl(58, 80%, 71%)
HSVhsv(58, 50%, 94%)
CMYKcmyk(0%, 2.1%, 50%, 5.9%)
CIE-LABlab(91.37, -13.35, 55.80)
CIE-LCHlch(91.37, 57.37, 103.46°)
OKLaboklab(92.1% -0.0392 0.1317)
OKLCHoklch(92.1% 0.137 106.6)
XYZxyz(69.0354, 79.2999, 29.4355)
Luminance0.7930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EB78 #787DF0
analogous
#F0AF78 #F0EB78 #B9F078
triadic
#F0EB78 #78F0EB #EB78F0
tetradic
#F0EB78 #78F0AF #787DF0 #F078B9
square
#F0EB78 #78F0AF #787DF0 #F078B9
split-complementary
#F0EB78 #78B9F0 #AF78F0
monochromatic
#D6CE18 #EAE341 #F0EB78 #F6F3AF #FCFBE3

Accessibility & contrast

On white

1.25
#F0EB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.86
#F0EB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EB78
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EB78#FFFFFF#000000##000000
##F0EB781.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36D
Deuteranopia (green-blind)
#FEE97E
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f0eb78;
/* rgb */ color: rgb(240, 235, 120);
/* oklch */ color: oklch(92.1% 0.137 106.6);
Tailwind
colors: {
  custom: {
    50: '#f7f1a2',
    500: '#f0eb78',
    950: '#000000',
  },
}
SCSS
$custom: #f0eb78;
$custom-light: #f7f1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0eb78",
  "rgb": {
    "r": 240,
    "g": 235,
    "b": 120
  },
  "hsl": {
    "h": 57.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92097,
    "c": 0.1374,
    "h": 106.6
  },
  "luminance": 0.79298
}

Semantic roles & 50–950 ramp

primary
#F0EB78
secondary
#4248CA
accent
#12DC09
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #F0EB78

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

Preview Lab → · Contrast checker → · Palette generator →

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