#FFE862#FFE862

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

Color values

HEX#FFE862
RGBrgb(255, 232, 98)
HSLhsl(51, 100%, 69%)
HSVhsv(51, 62%, 100%)
CMYKcmyk(0%, 9%, 61.6%, 0%)
CIE-LABlab(91.62, -7.45, 66.17)
CIE-LCHlch(91.62, 66.59, 96.42°)
OKLaboklab(92.52% -0.0255 0.1512)
OKLCHoklch(92.52% 0.153 99.6)
XYZxyz(72.3042, 79.8582, 23.1585)
Luminance0.7985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE862 #6279FF
analogous
#FF9A62 #FFE862 #C8FF62
triadic
#FFE862 #62FFE8 #E862FF
tetradic
#FFE862 #62FF9A #6279FF #FF62C8
square
#FFE862 #62FF9A #6279FF #FF62C8
split-complementary
#FFE862 #62C8FF #9A62FF
monochromatic
#E7C500 #FFDF25 #FFE862 #FFF19F #FFFADC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFE862#FFFFFF#000000##000000
##FFE8621.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)
#FCE253
Deuteranopia (green-blind)
#FFEB69
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe862;
/* rgb */ color: rgb(255, 232, 98);
/* oklch */ color: oklch(92.5% 0.153 99.6);
Tailwind
colors: {
  custom: {
    50: '#ffef94',
    500: '#ffe862',
    950: '#000000',
  },
}
SCSS
$custom: #ffe862;
$custom-light: #ffef94;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe862",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 98
  },
  "hsl": {
    "h": 51.21,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.92523,
    "c": 0.15336,
    "h": 99.6
  },
  "luminance": 0.79855
}

Semantic roles & 50–950 ramp

primary
#FFE862
secondary
#2C45DA
accent
#22E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#19160D
muted
#87857F

Preview Lab

Preview with #FFE862

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

Preview Lab → · Contrast checker → · Palette generator →

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