#F5F598#F5F598

#F5F598 is a very light, moderate yellow. Relative luminance 0.870; OKLCH L 95.0% C 0.115 H 108.4°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#F5F598
RGBrgb(245, 245, 152)
HSLhsl(60, 82%, 78%)
HSVhsv(60, 38%, 96%)
CMYKcmyk(0%, 0%, 38%, 3.9%)
CIE-LABlab(94.73, -13.26, 44.77)
CIE-LCHlch(94.73, 46.69, 106.50°)
OKLaboklab(94.99% -0.0363 0.1092)
OKLCHoklch(94.99% 0.115 108.4)
XYZxyz(75.9771, 86.9858, 42.4873)
Luminance0.8698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F598 #9898F5
analogous
#F5C698 #F5F598 #C6F598
triadic
#F5F598 #98F5F5 #F598F5
tetradic
#F5F598 #98F5C6 #9898F5 #F598C6
square
#F5F598 #98F5C6 #9898F5 #F598C6
split-complementary
#F5F598 #98C6F5 #C698F5
monochromatic
#EAEA28 #F0F060 #F5F598 #FAFAD0 #FCFCE3

Accessibility & contrast

On white

1.14
#F5F598 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.40
#F5F598 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F598
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F598#FFFFFF#000000##000000
##F5F5981.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE91
Deuteranopia (green-blind)
#FFF29C
Tritanopia (blue-blind)
#FFEADE
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5f598;
/* rgb */ color: rgb(245, 245, 152);
/* oklch */ color: oklch(95.0% 0.115 108.4);
Tailwind
colors: {
  custom: {
    50: '#faf8b7',
    500: '#f5f598',
    950: '#000000',
  },
}
SCSS
$custom: #f5f598;
$custom-light: #faf8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f598",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 152
  },
  "hsl": {
    "h": 60,
    "s": 82.301,
    "l": 77.843
  },
  "oklch": {
    "l": 0.94994,
    "c": 0.11511,
    "h": 108.4
  },
  "luminance": 0.86984
}

Semantic roles & 50–950 ramp

primary
#F5F598
secondary
#5E5ED4
accent
#07DF07
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F5F598

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

Preview Lab → · Contrast checker → · Palette generator →

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