#F0E261#F0E261

#F0E261 is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 90.0% C 0.149 H 103.1°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#F0E261
RGBrgb(240, 226, 97)
HSLhsl(54, 83%, 66%)
HSVhsv(54, 60%, 94%)
CMYKcmyk(0%, 5.8%, 59.6%, 5.9%)
CIE-LABlab(88.82, -10.64, 63.17)
CIE-LCHlch(88.82, 64.06, 99.56°)
OKLaboklab(90% -0.0339 0.1451)
OKLCHoklch(90% 0.149 103.1)
XYZxyz(65.2916, 73.7835, 22.1093)
Luminance0.7378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E261 #616FF0
analogous
#F09A61 #F0E261 #B6F061
triadic
#F0E261 #61F0E2 #E261F0
tetradic
#F0E261 #61F09A #616FF0 #F061B6
square
#F0E261 #61F09A #616FF0 #F061B6
split-complementary
#F0E261 #61B6F0 #9A61F0
monochromatic
#C4B313 #EBD829 #F0E261 #F5EC99 #FBF7D1

Accessibility & contrast

On white

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

On black

15.76
#F0E261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E261
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E261#FFFFFF#000000##000000
##F0E2611.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB53
Deuteranopia (green-blind)
#F9E268
Tritanopia (blue-blind)
#FFD4C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f0e261;
/* rgb */ color: rgb(240, 226, 97);
/* oklch */ color: oklch(90.0% 0.149 103.1);
Tailwind
colors: {
  custom: {
    50: '#f8ea93',
    500: '#f0e261',
    950: '#000000',
  },
}
SCSS
$custom: #f0e261;
$custom-light: #f8ea93;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e261",
  "rgb": {
    "r": 240,
    "g": 226,
    "b": 97
  },
  "hsl": {
    "h": 54.126,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.89996,
    "c": 0.14897,
    "h": 103.1
  },
  "luminance": 0.73781
}

Semantic roles & 50–950 ramp

primary
#F0E261
secondary
#3442C2
accent
#1CDF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E261

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

Preview Lab → · Contrast checker → · Palette generator →

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