#F0E277#F0E277

#F0E277 is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.2% C 0.129 H 101.9°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#F0E277
RGBrgb(240, 226, 119)
HSLhsl(53, 80%, 70%)
HSVhsv(53, 50%, 94%)
CMYKcmyk(0%, 5.8%, 50.4%, 5.9%)
CIE-LABlab(89.04, -8.97, 53.50)
CIE-LCHlch(89.04, 54.25, 99.52°)
OKLaboklab(90.24% -0.0267 0.1266)
OKLCHoklch(90.24% 0.129 101.9)
XYZxyz(66.4633, 74.2521, 28.2803)
Luminance0.7425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E277 #7785F0
analogous
#F0A577 #F0E277 #C1F077
triadic
#F0E277 #77F0E2 #E277F0
tetradic
#F0E277 #77F0A5 #7785F0 #F077C1
square
#F0E277 #77F0A5 #7785F0 #F077C1
split-complementary
#F0E277 #77C1F0 #A577F0
monochromatic
#D5BF18 #EAD640 #F0E277 #F6EEAE #FCF9E3

Accessibility & contrast

On white

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

On black

15.85
#F0E277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E277
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E277#FFFFFF#000000##000000
##F0E2771.001.3215.8515.85
#FFFFFF1.321.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6D
Deuteranopia (green-blind)
#F7E27C
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f0e277;
/* rgb */ color: rgb(240, 226, 119);
/* oklch */ color: oklch(90.2% 0.129 101.9);
Tailwind
colors: {
  custom: {
    50: '#f7eaa1',
    500: '#f0e277',
    950: '#000000',
  },
}
SCSS
$custom: #f0e277;
$custom-light: #f7eaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e277",
  "rgb": {
    "r": 240,
    "g": 226,
    "b": 119
  },
  "hsl": {
    "h": 53.058,
    "s": 80.132,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90244,
    "c": 0.12938,
    "h": 101.9
  },
  "luminance": 0.7425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0E277

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

Preview Lab → · Contrast checker → · Palette generator →

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