#F0E378#F0E378

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

Color values

HEX#F0E378
RGBrgb(240, 227, 120)
HSLhsl(54, 80%, 71%)
HSVhsv(54, 50%, 94%)
CMYKcmyk(0%, 5.4%, 50%, 5.9%)
CIE-LABlab(89.31, -9.38, 53.35)
CIE-LCHlch(89.31, 54.17, 99.97°)
OKLaboklab(90.46% -0.0278 0.1264)
OKLCHoklch(90.46% 0.129 102.4)
XYZxyz(66.7963, 74.8217, 28.6891)
Luminance0.7482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E378 #7885F0
analogous
#F0A778 #F0E378 #C1F078
triadic
#F0E378 #78F0E3 #E378F0
tetradic
#F0E378 #78F0A7 #7885F0 #F078C1
square
#F0E378 #78F0A7 #7885F0 #F078C1
split-complementary
#F0E378 #78C1F0 #A778F0
monochromatic
#D6C118 #EAD841 #F0E378 #F6EEAF #FCF9E3

Accessibility & contrast

On white

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

On black

15.96
#F0E378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E378
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E378#FFFFFF#000000##000000
##F0E3781.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0e378;
/* rgb */ color: rgb(240, 227, 120);
/* oklch */ color: oklch(90.5% 0.129 102.4);
Tailwind
colors: {
  custom: {
    50: '#f7eba1',
    500: '#f0e378',
    950: '#000000',
  },
}
SCSS
$custom: #f0e378;
$custom-light: #f7eba1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e378",
  "rgb": {
    "r": 240,
    "g": 227,
    "b": 120
  },
  "hsl": {
    "h": 53.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9046,
    "c": 0.12937,
    "h": 102.4
  },
  "luminance": 0.7482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0E378

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

Preview Lab → · Contrast checker → · Palette generator →

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