#FFE162#FFE162

#FFE162 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 91.1% C 0.148 H 96.0°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#FFE162
RGBrgb(255, 225, 98)
HSLhsl(49, 100%, 69%)
HSVhsv(49, 62%, 100%)
CMYKcmyk(0%, 11.8%, 61.6%, 0%)
CIE-LABlab(89.86, -3.95, 64.25)
CIE-LCHlch(89.86, 64.37, 93.52°)
OKLaboklab(91.13% -0.0155 0.1471)
OKLCHoklch(91.13% 0.148 96)
XYZxyz(70.3729, 75.9957, 22.5148)
Luminance0.7599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE162 #6280FF
analogous
#FF9362 #FFE162 #CFFF62
triadic
#FFE162 #62FFE1 #E162FF
tetradic
#FFE162 #62FF93 #6280FF #FF62CF
square
#FFE162 #62FF93 #6280FF #FF62CF
split-complementary
#FFE162 #62CFFF #9362FF
monochromatic
#E7BB00 #FFD525 #FFE162 #FFED9F #FFF8DC

Accessibility & contrast

On white

1.30
#FFE162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.20
#FFE162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE162
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE162#FFFFFF#000000##000000
##FFE1621.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC54
Deuteranopia (green-blind)
#FEE668
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ffe162;
/* rgb */ color: rgb(255, 225, 98);
/* oklch */ color: oklch(91.1% 0.148 96.0);
Tailwind
colors: {
  custom: {
    50: '#ffea93',
    500: '#ffe162',
    950: '#000000',
  },
}
SCSS
$custom: #ffe162;
$custom-light: #ffea93;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe162",
  "rgb": {
    "r": 255,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 48.535,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.91126,
    "c": 0.14794,
    "h": 96
  },
  "luminance": 0.75992
}

Semantic roles & 50–950 ramp

primary
#FFE162
secondary
#2C4DDA
accent
#2CE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFE162

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

Preview Lab → · Contrast checker → · Palette generator →

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