#F0E376#F0E376

#F0E376 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.4% C 0.131 H 102.5°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#F0E376
RGBrgb(240, 227, 118)
HSLhsl(54, 80%, 70%)
HSVhsv(54, 51%, 94%)
CMYKcmyk(0%, 5.4%, 50.8%, 5.9%)
CIE-LABlab(89.29, -9.55, 54.26)
CIE-LCHlch(89.29, 55.09, 99.98°)
OKLaboklab(90.44% -0.0285 0.1282)
OKLCHoklch(90.44% 0.131 102.5)
XYZxyz(66.6762, 74.7737, 28.0566)
Luminance0.7477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E376 #7683F0
analogous
#F0A676 #F0E376 #C0F076
triadic
#F0E376 #76F0E3 #E376F0
tetradic
#F0E376 #76F0A6 #7683F0 #F076C0
square
#F0E376 #76F0A6 #7683F0 #F076C0
split-complementary
#F0E376 #76C0F0 #A676F0
monochromatic
#D4C017 #EAD83F #F0E376 #F6EEAD #FCF9E3

Accessibility & contrast

On white

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

On black

15.95
#F0E376 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E376
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E376#FFFFFF#000000##000000
##F0E3761.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0e376;
/* rgb */ color: rgb(240, 227, 118);
/* oklch */ color: oklch(90.4% 0.131 102.5);
Tailwind
colors: {
  custom: {
    50: '#f7eba0',
    500: '#f0e376',
    950: '#000000',
  },
}
SCSS
$custom: #f0e376;
$custom-light: #f7eba0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e376",
  "rgb": {
    "r": 240,
    "g": 227,
    "b": 118
  },
  "hsl": {
    "h": 53.607,
    "s": 80.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90435,
    "c": 0.1313,
    "h": 102.5
  },
  "luminance": 0.74771
}

Semantic roles & 50–950 ramp

primary
#F0E376
secondary
#414FCA
accent
#1FDD09
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F0E376

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

Preview Lab → · Contrast checker → · Palette generator →

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