#F5E861#F5E861

#F5E861 is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.6% C 0.154 H 103.8°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#F5E861
RGBrgb(245, 232, 97)
HSLhsl(55, 88%, 67%)
HSVhsv(55, 60%, 96%)
CMYKcmyk(0%, 5.3%, 60.4%, 3.9%)
CIE-LABlab(90.78, -11.58, 65.43)
CIE-LCHlch(90.78, 66.45, 100.04°)
OKLaboklab(91.65% -0.0368 0.1498)
OKLCHoklch(91.65% 0.154 103.8)
XYZxyz(68.6729, 77.9913, 22.7434)
Luminance0.7799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E861 #616EF5
analogous
#F59E61 #F5E861 #B8F561
triadic
#F5E861 #61F5E8 #E861F5
tetradic
#F5E861 #61F59E #616EF5 #F561B8
square
#F5E861 #61F59E #616EF5 #F561B8
split-complementary
#F5E861 #61B8F5 #9E61F5
monochromatic
#CFBE0D #F1E027 #F5E861 #F9F09B #FCF9D4

Accessibility & contrast

On white

1.27
#F5E861 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.60
#F5E861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E861
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E861#FFFFFF#000000##000000
##F5E8611.001.2716.6016.60
#FFFFFF1.271.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE152
Deuteranopia (green-blind)
#FFE868
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e861;
/* rgb */ color: rgb(245, 232, 97);
/* oklch */ color: oklch(91.6% 0.154 103.8);
Tailwind
colors: {
  custom: {
    50: '#fcef93',
    500: '#f5e861',
    950: '#000000',
  },
}
SCSS
$custom: #f5e861;
$custom-light: #fcef93;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e861",
  "rgb": {
    "r": 245,
    "g": 232,
    "b": 97
  },
  "hsl": {
    "h": 54.73,
    "s": 88.095,
    "l": 67.059
  },
  "oklch": {
    "l": 0.9165,
    "c": 0.15422,
    "h": 103.8
  },
  "luminance": 0.77989
}

Semantic roles & 50–950 ramp

primary
#F5E861
secondary
#303ECA
accent
#15E501
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F5E861

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

Preview Lab → · Contrast checker → · Palette generator →

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