#F0E761#F0E761

#F0E761 is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 91.0% C 0.154 H 105.4°. Best body text is #000000 at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#F0E761
RGBrgb(240, 231, 97)
HSLhsl(56, 83%, 66%)
HSVhsv(56, 60%, 94%)
CMYKcmyk(0%, 3.7%, 59.6%, 5.9%)
CIE-LABlab(90.11, -13.11, 64.59)
CIE-LCHlch(90.11, 65.90, 101.48°)
OKLaboklab(91.02% -0.0409 0.1481)
OKLCHoklch(91.02% 0.154 105.4)
XYZxyz(66.6710, 76.5424, 22.5691)
Luminance0.7654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E761 #616AF0
analogous
#F09F61 #F0E761 #B1F061
triadic
#F0E761 #61F0E7 #E761F0
tetradic
#F0E761 #61F09F #616AF0 #F061B1
square
#F0E761 #61F09F #616AF0 #F061B1
split-complementary
#F0E761 #61B1F0 #9F61F0
monochromatic
#C4B913 #EBDF29 #F0E761 #F5EF99 #FBF8D1

Accessibility & contrast

On white

1.29
#F0E761 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.31
#F0E761 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E761
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E761#FFFFFF#000000##000000
##F0E7611.001.2916.3116.31
#FFFFFF1.291.0021.0021.00
#00000016.3121.001.001.00
##00000016.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF52
Deuteranopia (green-blind)
#FDE568
Tritanopia (blue-blind)
#FFD9CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f0e761;
/* rgb */ color: rgb(240, 231, 97);
/* oklch */ color: oklch(91.0% 0.154 105.4);
Tailwind
colors: {
  custom: {
    50: '#f8ee93',
    500: '#f0e761',
    950: '#000000',
  },
}
SCSS
$custom: #f0e761;
$custom-light: #f8ee93;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e761",
  "rgb": {
    "r": 240,
    "g": 231,
    "b": 97
  },
  "hsl": {
    "h": 56.224,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.91022,
    "c": 0.15363,
    "h": 105.4
  },
  "luminance": 0.7654
}

Semantic roles & 50–950 ramp

primary
#F0E761
secondary
#343DC2
accent
#14DF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E761

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

Preview Lab → · Contrast checker → · Palette generator →

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