#F0E379#F0E379

#F0E379 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.5% C 0.128 H 102.3°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#F0E379
RGBrgb(240, 227, 121)
HSLhsl(53, 80%, 71%)
HSVhsv(53, 50%, 94%)
CMYKcmyk(0%, 5.4%, 49.6%, 5.9%)
CIE-LABlab(89.32, -9.30, 52.89)
CIE-LCHlch(89.32, 53.70, 99.97°)
OKLaboklab(90.47% -0.0274 0.1254)
OKLCHoklch(90.47% 0.128 102.3)
XYZxyz(66.8573, 74.8461, 29.0104)
Luminance0.7484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E379 #7986F0
analogous
#F0A779 #F0E379 #C2F079
triadic
#F0E379 #79F0E3 #E379F0
tetradic
#F0E379 #79F0A7 #7986F0 #F079C2
square
#F0E379 #79F0A7 #7986F0 #F079C2
split-complementary
#F0E379 #79C2F0 #A779F0
monochromatic
#D7C218 #EAD742 #F0E379 #F6EFB0 #FCF9E3

Accessibility & contrast

On white

1.32
#F0E379 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#F0E379 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E379
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E379#FFFFFF#000000##000000
##F0E3791.001.3215.9715.97
#FFFFFF1.321.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD70
Deuteranopia (green-blind)
#F8E37E
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f0e379;
/* rgb */ color: rgb(240, 227, 121);
/* oklch */ color: oklch(90.5% 0.128 102.3);
Tailwind
colors: {
  custom: {
    50: '#f7eba2',
    500: '#f0e379',
    950: '#000000',
  },
}
SCSS
$custom: #f0e379;
$custom-light: #f7eba2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e379",
  "rgb": {
    "r": 240,
    "g": 227,
    "b": 121
  },
  "hsl": {
    "h": 53.445,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90473,
    "c": 0.12841,
    "h": 102.3
  },
  "luminance": 0.74844
}

Semantic roles & 50–950 ramp

primary
#F0E379
secondary
#4352CA
accent
#20DC09
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F0E379

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

Preview Lab → · Contrast checker → · Palette generator →

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