#FFE861#FFE861

#FFE861 is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.5% C 0.154 H 99.6°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#FFE861
RGBrgb(255, 232, 97)
HSLhsl(51, 100%, 69%)
HSVhsv(51, 62%, 100%)
CMYKcmyk(0%, 9%, 62%, 0%)
CIE-LABlab(91.61, -7.51, 66.58)
CIE-LCHlch(91.61, 67.00, 96.44°)
OKLaboklab(92.51% -0.0258 0.152)
OKLCHoklch(92.51% 0.154 99.6)
XYZxyz(72.2572, 79.8394, 22.9114)
Luminance0.7984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE861 #6178FF
analogous
#FF9961 #FFE861 #C7FF61
triadic
#FFE861 #61FFE8 #E861FF
tetradic
#FFE861 #61FF99 #6178FF #FF61C7
square
#FFE861 #61FF99 #6178FF #FF61C7
split-complementary
#FFE861 #61C7FF #9961FF
monochromatic
#E6C400 #FFDF24 #FFE861 #FFF19E #FFFADB

Accessibility & contrast

On white

1.24
#FFE861 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.97
#FFE861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE861
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE861#FFFFFF#000000##000000
##FFE8611.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE251
Deuteranopia (green-blind)
#FFEB68
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe861;
/* rgb */ color: rgb(255, 232, 97);
/* oklch */ color: oklch(92.5% 0.154 99.6);
Tailwind
colors: {
  custom: {
    50: '#ffef93',
    500: '#ffe861',
    950: '#000000',
  },
}
SCSS
$custom: #ffe861;
$custom-light: #ffef93;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe861",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 97
  },
  "hsl": {
    "h": 51.266,
    "s": 100,
    "l": 69.02
  },
  "oklch": {
    "l": 0.92514,
    "c": 0.15414,
    "h": 99.6
  },
  "luminance": 0.79836
}

Semantic roles & 50–950 ramp

primary
#FFE861
secondary
#2B44DA
accent
#21E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19160D
muted
#87857F

Preview Lab

Preview with #FFE861

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

Preview Lab → · Contrast checker → · Palette generator →

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