#F0ED74#F0ED74

#F0ED74 is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.5% C 0.143 H 107.6°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#F0ED74
RGBrgb(240, 237, 116)
HSLhsl(59, 81%, 70%)
HSVhsv(59, 52%, 94%)
CMYKcmyk(0%, 1.2%, 51.7%, 5.9%)
CIE-LABlab(91.84, -14.66, 58.19)
CIE-LCHlch(91.84, 60.01, 104.14°)
OKLaboklab(92.46% -0.0433 0.1365)
OKLCHoklch(92.46% 0.143 107.6)
XYZxyz(69.3736, 80.3565, 28.3756)
Luminance0.8035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0ED74 #7477F0
analogous
#F0AF74 #F0ED74 #B5F074
triadic
#F0ED74 #74F0ED #ED74F0
tetradic
#F0ED74 #74F0AF #7477F0 #F074B5
square
#F0ED74 #74F0AF #7477F0 #F074B5
split-complementary
#F0ED74 #74B5F0 #AF74F0
monochromatic
#D3CE17 #EAE63D #F0ED74 #F6F4AB #FCFBE2

Accessibility & contrast

On white

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

On black

17.07
#F0ED74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0ED74
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0ED74#FFFFFF#000000##000000
##F0ED741.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE568
Deuteranopia (green-blind)
#FFEA7A
Tritanopia (blue-blind)
#FFE0D2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f0ed74;
/* rgb */ color: rgb(240, 237, 116);
/* oklch */ color: oklch(92.5% 0.143 107.6);
Tailwind
colors: {
  custom: {
    50: '#f7f29f',
    500: '#f0ed74',
    950: '#000000',
  },
}
SCSS
$custom: #f0ed74;
$custom-light: #f7f29f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ed74",
  "rgb": {
    "r": 240,
    "g": 237,
    "b": 116
  },
  "hsl": {
    "h": 58.548,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92461,
    "c": 0.14323,
    "h": 107.6
  },
  "luminance": 0.80355
}

Semantic roles & 50–950 ramp

primary
#F0ED74
secondary
#3F42C9
accent
#0EDD09
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #F0ED74

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

Preview Lab → · Contrast checker → · Palette generator →

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