#F5E486#F5E486

#F5E486 is a very light, moderate yellow. Relative luminance 0.766; OKLCH L 91.3% C 0.117 H 99.3°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#F5E486
RGBrgb(245, 228, 134)
HSLhsl(51, 85%, 74%)
HSVhsv(51, 45%, 96%)
CMYKcmyk(0%, 6.9%, 45.3%, 3.9%)
CIE-LABlab(90.15, -6.64, 47.77)
CIE-LCHlch(90.15, 48.23, 97.91°)
OKLaboklab(91.28% -0.0188 0.115)
OKLCHoklch(91.28% 0.117 99.3)
XYZxyz(69.7045, 76.6229, 33.6676)
Luminance0.7662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E486 #8697F5
analogous
#F5AD86 #F5E486 #CFF586
triadic
#F5E486 #86F5E4 #E486F5
tetradic
#F5E486 #86F5AD #8697F5 #F586CF
square
#F5E486 #86F5AD #8697F5 #F586CF
split-complementary
#F5E486 #86CFF5 #AD86F5
monochromatic
#ECCB15 #F0D74D #F5E486 #FAF1BF #FDF9E3

Accessibility & contrast

On white

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

On black

16.32
#F5E486 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E486
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E486#FFFFFF#000000##000000
##F5E4861.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF7E
Deuteranopia (green-blind)
#F9E68A
Tritanopia (blue-blind)
#FFD8CD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e486;
/* rgb */ color: rgb(245, 228, 134);
/* oklch */ color: oklch(91.3% 0.117 99.3);
Tailwind
colors: {
  custom: {
    50: '#faecab',
    500: '#f5e486',
    950: '#000000',
  },
}
SCSS
$custom: #f5e486;
$custom-light: #faecab;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e486",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 134
  },
  "hsl": {
    "h": 50.811,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91279,
    "c": 0.11651,
    "h": 99.3
  },
  "luminance": 0.76621
}

Semantic roles & 50–950 ramp

primary
#F5E486
secondary
#4E62D2
accent
#26E104
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E486

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

Preview Lab → · Contrast checker → · Palette generator →

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