#F0E276#F0E276

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

Color values

HEX#F0E276
RGBrgb(240, 226, 118)
HSLhsl(53, 80%, 70%)
HSVhsv(53, 51%, 94%)
CMYKcmyk(0%, 5.8%, 50.8%, 5.9%)
CIE-LABlab(89.03, -9.05, 53.96)
CIE-LCHlch(89.03, 54.71, 99.52°)
OKLaboklab(90.23% -0.027 0.1275)
OKLCHoklch(90.23% 0.13 102)
XYZxyz(66.4035, 74.2282, 27.9656)
Luminance0.7423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E276 #7684F0
analogous
#F0A576 #F0E276 #C1F076
triadic
#F0E276 #76F0E2 #E276F0
tetradic
#F0E276 #76F0A5 #7684F0 #F076C1
square
#F0E276 #76F0A5 #7684F0 #F076C1
split-complementary
#F0E276 #76C1F0 #A576F0
monochromatic
#D4BF17 #EAD63F #F0E276 #F6EEAD #FCF9E3

Accessibility & contrast

On white

1.33
#F0E276 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0E276#FFFFFF#000000##000000
##F0E2761.001.3315.8515.85
#FFFFFF1.331.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0e276;
/* rgb */ color: rgb(240, 226, 118);
/* oklch */ color: oklch(90.2% 0.130 102.0);
Tailwind
colors: {
  custom: {
    50: '#f7eaa0',
    500: '#f0e276',
    950: '#000000',
  },
}
SCSS
$custom: #f0e276;
$custom-light: #f7eaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e276",
  "rgb": {
    "r": 240,
    "g": 226,
    "b": 118
  },
  "hsl": {
    "h": 53.115,
    "s": 80.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90231,
    "c": 0.13034,
    "h": 102
  },
  "luminance": 0.74226
}

Semantic roles & 50–950 ramp

primary
#F0E276
secondary
#4150CA
accent
#21DD09
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F0E276

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

Preview Lab → · Contrast checker → · Palette generator →

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