#FFE462#FFE462

#FFE462 is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.7% C 0.150 H 97.6°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#FFE462
RGBrgb(255, 228, 98)
HSLhsl(50, 100%, 69%)
HSVhsv(50, 62%, 100%)
CMYKcmyk(0%, 10.6%, 61.6%, 0%)
CIE-LABlab(90.61, -5.45, 65.07)
CIE-LCHlch(90.61, 65.30, 94.79°)
OKLaboklab(91.72% -0.0198 0.1489)
OKLCHoklch(91.72% 0.15 97.6)
XYZxyz(71.1910, 77.6319, 22.7875)
Luminance0.7763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE462 #627DFF
analogous
#FF9662 #FFE462 #CBFF62
triadic
#FFE462 #62FFE4 #E462FF
tetradic
#FFE462 #62FF96 #627DFF #FF62CB
square
#FFE462 #62FF96 #627DFF #FF62CB
split-complementary
#FFE462 #62CBFF #9662FF
monochromatic
#E7BF00 #FFD925 #FFE462 #FFEF9F #FFF9DC

Accessibility & contrast

On white

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

On black

16.53
#FFE462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE462
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE462#FFFFFF#000000##000000
##FFE4621.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF53
Deuteranopia (green-blind)
#FFE868
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ffe462;
/* rgb */ color: rgb(255, 228, 98);
/* oklch */ color: oklch(91.7% 0.150 97.6);
Tailwind
colors: {
  custom: {
    50: '#ffec93',
    500: '#ffe462',
    950: '#000000',
  },
}
SCSS
$custom: #ffe462;
$custom-light: #ffec93;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe462",
  "rgb": {
    "r": 255,
    "g": 228,
    "b": 98
  },
  "hsl": {
    "h": 49.682,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.91724,
    "c": 0.15019,
    "h": 97.6
  },
  "luminance": 0.77629
}

Semantic roles & 50–950 ramp

primary
#FFE462
secondary
#2C49DA
accent
#27E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFE462

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

Preview Lab → · Contrast checker → · Palette generator →

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