#F5EC99#F5EC99

#F5EC99 is a very light, moderate yellow. Relative luminance 0.817; OKLCH L 93.2% C 0.104 H 102.9°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#F5EC99
RGBrgb(245, 236, 153)
HSLhsl(54, 82%, 78%)
HSVhsv(54, 38%, 96%)
CMYKcmyk(0%, 3.7%, 37.6%, 3.9%)
CIE-LABlab(92.44, -8.70, 41.34)
CIE-LCHlch(92.44, 42.25, 101.88°)
OKLaboklab(93.18% -0.0232 0.1014)
OKLCHoklch(93.18% 0.104 102.9)
XYZxyz(73.4026, 81.7051, 42.0348)
Luminance0.8170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EC99 #99A2F5
analogous
#F5BE99 #F5EC99 #D0F599
triadic
#F5EC99 #99F5EC #EC99F5
tetradic
#F5EC99 #99F5BE #99A2F5 #F599D0
square
#F5EC99 #99F5BE #99A2F5 #F599D0
split-complementary
#F5EC99 #99D0F5 #BE99F5
monochromatic
#EAD72A #F0E261 #F5EC99 #FAF6D1 #FCFAE3

Accessibility & contrast

On white

1.21
#F5EC99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.34
#F5EC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EC99
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EC99#FFFFFF#000000##000000
##F5EC991.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE793
Deuteranopia (green-blind)
#FDEC9C
Tritanopia (blue-blind)
#FFE1D7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f5ec99;
/* rgb */ color: rgb(245, 236, 153);
/* oklch */ color: oklch(93.2% 0.104 102.9);
Tailwind
colors: {
  custom: {
    50: '#faf2b8',
    500: '#f5ec99',
    950: '#000000',
  },
}
SCSS
$custom: #f5ec99;
$custom-light: #faf2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ec99",
  "rgb": {
    "r": 245,
    "g": 236,
    "b": 153
  },
  "hsl": {
    "h": 54.13,
    "s": 82.143,
    "l": 78.039
  },
  "oklch": {
    "l": 0.93183,
    "c": 0.10404,
    "h": 102.9
  },
  "luminance": 0.81703
}

Semantic roles & 50–950 ramp

primary
#F5EC99
secondary
#5F6AD4
accent
#1CDF07
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F5EC99

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

Preview Lab → · Contrast checker → · Palette generator →

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