#F5F595#F5F595

#F5F595 is a very light, moderate yellow. Relative luminance 0.869; OKLCH L 94.9% C 0.118 H 108.5°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#F5F595
RGBrgb(245, 245, 149)
HSLhsl(60, 83%, 77%)
HSVhsv(60, 39%, 96%)
CMYKcmyk(0%, 0%, 39.2%, 3.9%)
CIE-LABlab(94.69, -13.58, 46.18)
CIE-LCHlch(94.69, 48.13, 106.38°)
OKLaboklab(94.95% -0.0375 0.1123)
OKLCHoklch(94.95% 0.118 108.5)
XYZxyz(75.7345, 86.8888, 41.2096)
Luminance0.8689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F595 #9595F5
analogous
#F5C595 #F5F595 #C5F595
triadic
#F5F595 #95F5F5 #F595F5
tetradic
#F5F595 #95F5C5 #9595F5 #F595C5
square
#F5F595 #95F5C5 #9595F5 #F595C5
split-complementary
#F5F595 #95C5F5 #C595F5
monochromatic
#EAEA25 #F0F05D #F5F595 #FAFACD #FCFCE3

Accessibility & contrast

On white

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

On black

18.38
#F5F595 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F595
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F595#FFFFFF#000000##000000
##F5F5951.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f595;
/* rgb */ color: rgb(245, 245, 149);
/* oklch */ color: oklch(94.9% 0.118 108.5);
Tailwind
colors: {
  custom: {
    50: '#faf8b5',
    500: '#f5f595',
    950: '#000000',
  },
}
SCSS
$custom: #f5f595;
$custom-light: #faf8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f595",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 149
  },
  "hsl": {
    "h": 60,
    "s": 82.759,
    "l": 77.255
  },
  "oklch": {
    "l": 0.94948,
    "c": 0.11836,
    "h": 108.5
  },
  "luminance": 0.86887
}

Semantic roles & 50–950 ramp

primary
#F5F595
secondary
#5B5BD3
accent
#06DF06
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F5F595

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

Preview Lab → · Contrast checker → · Palette generator →

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