#F5E875#F5E875

#F5E875 is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.9% C 0.137 H 102.9°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#F5E875
RGBrgb(245, 232, 117)
HSLhsl(54, 86%, 71%)
HSVhsv(54, 52%, 96%)
CMYKcmyk(0%, 5.3%, 52.2%, 3.9%)
CIE-LABlab(90.97, -10.12, 56.81)
CIE-LCHlch(90.97, 57.70, 100.11°)
OKLaboklab(91.86% -0.0305 0.1335)
OKLCHoklch(91.86% 0.137 102.9)
XYZxyz(69.7258, 78.4124, 28.2884)
Luminance0.7841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E875 #7582F5
analogous
#F5A875 #F5E875 #C2F575
triadic
#F5E875 #75F5E8 #E875F5
tetradic
#F5E875 #75F5A8 #7582F5 #F575C2
square
#F5E875 #75F5A8 #7582F5 #F575C2
split-complementary
#F5E875 #75C2F5 #A875F5
monochromatic
#DFCA10 #F1DE3C #F5E875 #F9F2AE #FDFAE2

Accessibility & contrast

On white

1.26
#F5E875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.68
#F5E875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E875
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E875#FFFFFF#000000##000000
##F5E8751.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE16A
Deuteranopia (green-blind)
#FEE87A
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e875;
/* rgb */ color: rgb(245, 232, 117);
/* oklch */ color: oklch(91.9% 0.137 102.9);
Tailwind
colors: {
  custom: {
    50: '#fbefa0',
    500: '#f5e875',
    950: '#000000',
  },
}
SCSS
$custom: #f5e875;
$custom-light: #fbefa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e875",
  "rgb": {
    "r": 245,
    "g": 232,
    "b": 117
  },
  "hsl": {
    "h": 53.906,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91864,
    "c": 0.13698,
    "h": 102.9
  },
  "luminance": 0.7841
}

Semantic roles & 50–950 ramp

primary
#F5E875
secondary
#3F4DD0
accent
#19E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F5E875

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

Preview Lab → · Contrast checker → · Palette generator →

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