#FFE662#FFE662

#FFE662 is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 92.1% C 0.152 H 98.6°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#FFE662
RGBrgb(255, 230, 98)
HSLhsl(50, 100%, 69%)
HSVhsv(50, 62%, 100%)
CMYKcmyk(0%, 9.8%, 61.6%, 0%)
CIE-LABlab(91.12, -6.45, 65.62)
CIE-LCHlch(91.12, 65.94, 95.62°)
OKLaboklab(92.12% -0.0227 0.1501)
OKLCHoklch(92.12% 0.152 98.6)
XYZxyz(71.7444, 78.7387, 22.9719)
Luminance0.7873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE662 #627BFF
analogous
#FF9862 #FFE662 #CAFF62
triadic
#FFE662 #62FFE6 #E662FF
tetradic
#FFE662 #62FF98 #627BFF #FF62CA
square
#FFE662 #62FF98 #627BFF #FF62CA
split-complementary
#FFE662 #62CAFF #9862FF
monochromatic
#E7C200 #FFDC25 #FFE662 #FFF09F #FFF9DC

Accessibility & contrast

On white

1.25
#FFE662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.75
#FFE662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE662
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE662#FFFFFF#000000##000000
##FFE6621.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffe662;
/* rgb */ color: rgb(255, 230, 98);
/* oklch */ color: oklch(92.1% 0.152 98.6);
Tailwind
colors: {
  custom: {
    50: '#ffed94',
    500: '#ffe662',
    950: '#000000',
  },
}
SCSS
$custom: #ffe662;
$custom-light: #ffed94;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe662",
  "rgb": {
    "r": 255,
    "g": 230,
    "b": 98
  },
  "hsl": {
    "h": 50.446,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.92123,
    "c": 0.15175,
    "h": 98.6
  },
  "luminance": 0.78735
}

Semantic roles & 50–950 ramp

primary
#FFE662
secondary
#2C47DA
accent
#25E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFE662

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

Preview Lab → · Contrast checker → · Palette generator →

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