#FFE789#FFE789

#FFE789 is a very light, moderate yellow. Relative luminance 0.802; OKLCH L 92.8% C 0.117 H 95.5°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#FFE789
RGBrgb(255, 231, 137)
HSLhsl(48, 100%, 77%)
HSVhsv(48, 46%, 100%)
CMYKcmyk(0%, 9.4%, 46.3%, 0%)
CIE-LABlab(91.78, -3.92, 48.53)
CIE-LCHlch(91.78, 48.69, 94.62°)
OKLaboklab(92.79% -0.0112 0.1168)
OKLCHoklch(92.79% 0.117 95.5)
XYZxyz(74.3334, 80.2208, 35.2307)
Luminance0.8022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE789 #89A1FF
analogous
#FFAC89 #FFE789 #DCFF89
triadic
#FFE789 #89FFE7 #E789FF
tetradic
#FFE789 #89FFAC #89A1FF #FF89DC
square
#FFE789 #89FFAC #89A1FF #FF89DC
split-complementary
#FFE789 #89DCFF #AC89FF
monochromatic
#FFCE0F #FFDB4C #FFE789 #FFF3C6 #FFF9E0

Accessibility & contrast

On white

1.23
#FFE789 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.04
#FFE789 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE789
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE789#FFFFFF#000000##000000
##FFE7891.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E381
Deuteranopia (green-blind)
#FFEB8D
Tritanopia (blue-blind)
#FFDAD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe789;
/* rgb */ color: rgb(255, 231, 137);
/* oklch */ color: oklch(92.8% 0.117 95.5);
Tailwind
colors: {
  custom: {
    50: '#ffeead',
    500: '#ffe789',
    950: '#000000',
  },
}
SCSS
$custom: #ffe789;
$custom-light: #ffeead;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe789",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 137
  },
  "hsl": {
    "h": 47.797,
    "s": 100,
    "l": 76.863
  },
  "oklch": {
    "l": 0.92786,
    "c": 0.1173,
    "h": 95.5
  },
  "luminance": 0.80218
}

Semantic roles & 50–950 ramp

primary
#FFE789
secondary
#4D6BE0
accent
#2FE600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #FFE789

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

Preview Lab → · Contrast checker → · Palette generator →

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