#F5E490#F5E490

#F5E490 is a very light, moderate yellow. Relative luminance 0.769; OKLCH L 91.4% C 0.106 H 98.2°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#F5E490
RGBrgb(245, 228, 144)
HSLhsl(50, 83%, 76%)
HSVhsv(50, 41%, 96%)
CMYKcmyk(0%, 6.9%, 41.2%, 3.9%)
CIE-LABlab(90.28, -5.65, 43.03)
CIE-LCHlch(90.28, 43.40, 97.48°)
OKLaboklab(91.43% -0.015 0.1049)
OKLCHoklch(91.43% 0.106 98.2)
XYZxyz(70.4352, 76.9151, 37.5160)
Luminance0.7691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E490 #90A1F5
analogous
#F5B290 #F5E490 #D4F590
triadic
#F5E490 #90F5E4 #E490F5
tetradic
#F5E490 #90F5B2 #90A1F5 #F590D4
square
#F5E490 #90F5B2 #90A1F5 #F590D4
split-complementary
#F5E490 #90D4F5 #B290F5
monochromatic
#EBC920 #F0D658 #F5E490 #FAF2C8 #FCF8E3

Accessibility & contrast

On white

1.28
#F5E490 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#F5E490 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E490
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E490#FFFFFF#000000##000000
##F5E4901.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E08A
Deuteranopia (green-blind)
#F8E693
Tritanopia (blue-blind)
#FFD9CF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e490;
/* rgb */ color: rgb(245, 228, 144);
/* oklch */ color: oklch(91.4% 0.106 98.2);
Tailwind
colors: {
  custom: {
    50: '#faecb1',
    500: '#f5e490',
    950: '#000000',
  },
}
SCSS
$custom: #f5e490;
$custom-light: #faecb1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e490",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 144
  },
  "hsl": {
    "h": 49.901,
    "s": 83.471,
    "l": 76.275
  },
  "oklch": {
    "l": 0.91429,
    "c": 0.10595,
    "h": 98.2
  },
  "luminance": 0.76913
}

Semantic roles & 50–950 ramp

primary
#F5E490
secondary
#566BD3
accent
#2AE006
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F5E490

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

Preview Lab → · Contrast checker → · Palette generator →

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