#F5E489#F5E489

#F5E489 is a very light, moderate yellow. Relative luminance 0.767; OKLCH L 91.3% C 0.113 H 99.0°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#F5E489
RGBrgb(245, 228, 137)
HSLhsl(51, 84%, 75%)
HSVhsv(51, 44%, 96%)
CMYKcmyk(0%, 6.9%, 44.1%, 3.9%)
CIE-LABlab(90.19, -6.35, 46.36)
CIE-LCHlch(90.19, 46.79, 97.80°)
OKLaboklab(91.32% -0.0177 0.112)
OKLCHoklch(91.32% 0.113 99)
XYZxyz(69.9167, 76.7077, 34.7852)
Luminance0.7671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E489 #899AF5
analogous
#F5AE89 #F5E489 #D0F589
triadic
#F5E489 #89F5E4 #E489F5
tetradic
#F5E489 #89F5AE #899AF5 #F589D0
square
#F5E489 #89F5AE #899AF5 #F589D0
split-complementary
#F5E489 #89D0F5 #AE89F5
monochromatic
#EBCA18 #F0D751 #F5E489 #FAF1C1 #FDF9E3

Accessibility & contrast

On white

1.29
#F5E489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.34
#F5E489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E489
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E489#FFFFFF#000000##000000
##F5E4891.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF82
Deuteranopia (green-blind)
#F9E68D
Tritanopia (blue-blind)
#FFD8CE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e489;
/* rgb */ color: rgb(245, 228, 137);
/* oklch */ color: oklch(91.3% 0.113 99.0);
Tailwind
colors: {
  custom: {
    50: '#faecad',
    500: '#f5e489',
    950: '#000000',
  },
}
SCSS
$custom: #f5e489;
$custom-light: #faecad;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e489",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 137
  },
  "hsl": {
    "h": 50.556,
    "s": 84.375,
    "l": 74.902
  },
  "oklch": {
    "l": 0.91322,
    "c": 0.1134,
    "h": 99
  },
  "luminance": 0.76705
}

Semantic roles & 50–950 ramp

primary
#F5E489
secondary
#5065D2
accent
#27E105
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E489

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

Preview Lab → · Contrast checker → · Palette generator →

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