#F0EC75#F0EC75

#F0EC75 is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.3% C 0.141 H 107.1°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#F0EC75
RGBrgb(240, 236, 117)
HSLhsl(58, 80%, 70%)
HSVhsv(58, 51%, 94%)
CMYKcmyk(0%, 1.7%, 51.3%, 5.9%)
CIE-LABlab(91.60, -14.09, 57.44)
CIE-LCHlch(91.60, 59.15, 103.78°)
OKLaboklab(92.27% -0.0416 0.135)
OKLCHoklch(92.27% 0.141 107.1)
XYZxyz(69.1433, 79.8024, 28.5873)
Luminance0.7980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EC75 #7579F0
analogous
#F0AF75 #F0EC75 #B6F075
triadic
#F0EC75 #75F0EC #EC75F0
tetradic
#F0EC75 #75F0AF #7579F0 #F075B6
square
#F0EC75 #75F0AF #7579F0 #F075B6
split-complementary
#F0EC75 #75B6F0 #AF75F0
monochromatic
#D4CD17 #EAE43E #F0EC75 #F6F4AC #FCFBE3

Accessibility & contrast

On white

1.24
#F0EC75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.96
#F0EC75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EC75
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EC75#FFFFFF#000000##000000
##F0EC751.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE46A
Deuteranopia (green-blind)
#FFE97B
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f0ec75;
/* rgb */ color: rgb(240, 236, 117);
/* oklch */ color: oklch(92.3% 0.141 107.1);
Tailwind
colors: {
  custom: {
    50: '#f7f2a0',
    500: '#f0ec75',
    950: '#000000',
  },
}
SCSS
$custom: #f0ec75;
$custom-light: #f7f2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ec75",
  "rgb": {
    "r": 240,
    "g": 236,
    "b": 117
  },
  "hsl": {
    "h": 58.049,
    "s": 80.392,
    "l": 70
  },
  "oklch": {
    "l": 0.92266,
    "c": 0.14126,
    "h": 107.1
  },
  "luminance": 0.79801
}

Semantic roles & 50–950 ramp

primary
#F0EC75
secondary
#4044C9
accent
#10DD09
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #F0EC75

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

Preview Lab → · Contrast checker → · Palette generator →

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