#FFE489#FFE489

#FFE489 is a very light, moderate yellow. Relative luminance 0.786; OKLCH L 92.2% C 0.115 H 93.4°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#FFE489
RGBrgb(255, 228, 137)
HSLhsl(46, 100%, 77%)
HSVhsv(46, 46%, 100%)
CMYKcmyk(0%, 10.6%, 46.3%, 0%)
CIE-LABlab(91.03, -2.41, 47.60)
CIE-LCHlch(91.03, 47.66, 92.90°)
OKLaboklab(92.19% -0.0068 0.1147)
OKLCHoklch(92.19% 0.115 93.4)
XYZxyz(73.5010, 78.5559, 34.9532)
Luminance0.7855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE489 #89A4FF
analogous
#FFA989 #FFE489 #DFFF89
triadic
#FFE489 #89FFE4 #E489FF
tetradic
#FFE489 #89FFA9 #89A4FF #FF89DF
square
#FFE489 #89FFA9 #89A4FF #FF89DF
split-complementary
#FFE489 #89DFFF #A989FF
monochromatic
#FFC80F #FFD64C #FFE489 #FFF2C6 #FFF8E0

Accessibility & contrast

On white

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

On black

16.71
#FFE489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE489
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE489#FFFFFF#000000##000000
##FFE4891.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E182
Deuteranopia (green-blind)
#FDE98C
Tritanopia (blue-blind)
#FFD7CE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ffe489;
/* rgb */ color: rgb(255, 228, 137);
/* oklch */ color: oklch(92.2% 0.115 93.4);
Tailwind
colors: {
  custom: {
    50: '#ffecad',
    500: '#ffe489',
    950: '#000000',
  },
}
SCSS
$custom: #ffe489;
$custom-light: #ffecad;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe489",
  "rgb": {
    "r": 255,
    "g": 228,
    "b": 137
  },
  "hsl": {
    "h": 46.271,
    "s": 100,
    "l": 76.863
  },
  "oklch": {
    "l": 0.92193,
    "c": 0.11488,
    "h": 93.4
  },
  "luminance": 0.78553
}

Semantic roles & 50–950 ramp

primary
#FFE489
secondary
#4D6EE0
accent
#35E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FFE489

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

Preview Lab → · Contrast checker → · Palette generator →

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