#F0E361#F0E361

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

Color values

HEX#F0E361
RGBrgb(240, 227, 97)
HSLhsl(55, 83%, 66%)
HSVhsv(55, 60%, 94%)
CMYKcmyk(0%, 5.4%, 59.6%, 5.9%)
CIE-LABlab(89.08, -11.13, 63.45)
CIE-LCHlch(89.08, 64.42, 99.95°)
OKLaboklab(90.2% -0.0353 0.1457)
OKLCHoklch(90.2% 0.15 103.6)
XYZxyz(65.5643, 74.3289, 22.2002)
Luminance0.7433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E361 #616EF0
analogous
#F09B61 #F0E361 #B6F061
triadic
#F0E361 #61F0E3 #E361F0
tetradic
#F0E361 #61F09B #616EF0 #F061B6
square
#F0E361 #61F09B #616EF0 #F061B6
split-complementary
#F0E361 #61B6F0 #9B61F0
monochromatic
#C4B413 #EBD929 #F0E361 #F5ED99 #FBF7D1

Accessibility & contrast

On white

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

On black

15.87
#F0E361 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E361
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E361#FFFFFF#000000##000000
##F0E3611.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC52
Deuteranopia (green-blind)
#FAE368
Tritanopia (blue-blind)
#FFD5C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f0e361;
/* rgb */ color: rgb(240, 227, 97);
/* oklch */ color: oklch(90.2% 0.150 103.6);
Tailwind
colors: {
  custom: {
    50: '#f8eb93',
    500: '#f0e361',
    950: '#000000',
  },
}
SCSS
$custom: #f0e361;
$custom-light: #f8eb93;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e361",
  "rgb": {
    "r": 240,
    "g": 227,
    "b": 97
  },
  "hsl": {
    "h": 54.545,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.90201,
    "c": 0.14988,
    "h": 103.6
  },
  "luminance": 0.74327
}

Semantic roles & 50–950 ramp

primary
#F0E361
secondary
#3441C2
accent
#1ADF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E361

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

Preview Lab → · Contrast checker → · Palette generator →

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