#FFE562#FFE562

#FFE562 is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.9% C 0.151 H 98.1°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#FFE562
RGBrgb(255, 229, 98)
HSLhsl(50, 100%, 69%)
HSVhsv(50, 62%, 100%)
CMYKcmyk(0%, 10.2%, 61.6%, 0%)
CIE-LABlab(90.86, -5.95, 65.35)
CIE-LCHlch(90.86, 65.62, 95.21°)
OKLaboklab(91.92% -0.0212 0.1495)
OKLCHoklch(91.92% 0.151 98.1)
XYZxyz(71.4669, 78.1837, 22.8794)
Luminance0.7818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE562 #627CFF
analogous
#FF9762 #FFE562 #CAFF62
triadic
#FFE562 #62FFE5 #E562FF
tetradic
#FFE562 #62FF97 #627CFF #FF62CA
square
#FFE562 #62FF97 #627CFF #FF62CA
split-complementary
#FFE562 #62CAFF #9762FF
monochromatic
#E7C000 #FFDB25 #FFE562 #FFEF9F #FFF9DC

Accessibility & contrast

On white

1.26
#FFE562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.64
#FFE562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE562
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE562#FFFFFF#000000##000000
##FFE5621.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE053
Deuteranopia (green-blind)
#FFE969
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ffe562;
/* rgb */ color: rgb(255, 229, 98);
/* oklch */ color: oklch(91.9% 0.151 98.1);
Tailwind
colors: {
  custom: {
    50: '#ffec94',
    500: '#ffe562',
    950: '#000000',
  },
}
SCSS
$custom: #ffe562;
$custom-light: #ffec94;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe562",
  "rgb": {
    "r": 255,
    "g": 229,
    "b": 98
  },
  "hsl": {
    "h": 50.064,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.91923,
    "c": 0.15097,
    "h": 98.1
  },
  "luminance": 0.7818
}

Semantic roles & 50–950 ramp

primary
#FFE562
secondary
#2C48DA
accent
#26E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFE562

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

Preview Lab → · Contrast checker → · Palette generator →

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