#F5EF99#F5EF99

#F5EF99 is a very light, moderate yellow. Relative luminance 0.834; OKLCH L 93.8% C 0.107 H 104.8°. Best body text is #000000 at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#F5EF99
RGBrgb(245, 239, 153)
HSLhsl(56, 82%, 78%)
HSVhsv(56, 38%, 96%)
CMYKcmyk(0%, 2.4%, 37.6%, 3.9%)
CIE-LABlab(93.21, -10.19, 42.33)
CIE-LCHlch(93.21, 43.54, 103.54°)
OKLaboklab(93.79% -0.0275 0.1037)
OKLCHoklch(93.79% 0.107 104.8)
XYZxyz(74.2736, 83.4471, 42.3252)
Luminance0.8345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF99 #999FF5
analogous
#F5C199 #F5EF99 #CDF599
triadic
#F5EF99 #99F5EF #EF99F5
tetradic
#F5EF99 #99F5C1 #999FF5 #F599CD
square
#F5EF99 #99F5C1 #999FF5 #F599CD
split-complementary
#F5EF99 #99CDF5 #C199F5
monochromatic
#EADE2A #F0E661 #F5EF99 #FAF8D1 #FCFBE3

Accessibility & contrast

On white

1.19
#F5EF99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.69
#F5EF99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF99
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF99#FFFFFF#000000##000000
##F5EF991.001.1917.6917.69
#FFFFFF1.191.0021.0021.00
#00000017.6921.001.001.00
##00000017.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE993
Deuteranopia (green-blind)
#FFEE9D
Tritanopia (blue-blind)
#FFE4DA
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5ef99;
/* rgb */ color: rgb(245, 239, 153);
/* oklch */ color: oklch(93.8% 0.107 104.8);
Tailwind
colors: {
  custom: {
    50: '#faf4b8',
    500: '#f5ef99',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef99;
$custom-light: #faf4b8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef99",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 153
  },
  "hsl": {
    "h": 56.087,
    "s": 82.143,
    "l": 78.039
  },
  "oklch": {
    "l": 0.9379,
    "c": 0.10727,
    "h": 104.8
  },
  "luminance": 0.83445
}

Semantic roles & 50–950 ramp

primary
#F5EF99
secondary
#5F66D4
accent
#15DF07
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F5EF99

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

Preview Lab → · Contrast checker → · Palette generator →

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