#F5F175#F5F175

#F5F175 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.7% C 0.146 H 107.2°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#F5F175
RGBrgb(245, 241, 117)
HSLhsl(58, 86%, 71%)
HSVhsv(58, 52%, 96%)
CMYKcmyk(0%, 1.6%, 52.2%, 3.9%)
CIE-LABlab(93.28, -14.56, 59.51)
CIE-LCHlch(93.28, 61.26, 103.75°)
OKLaboklab(93.7% -0.0432 0.1394)
OKLCHoklch(93.7% 0.146 107.2)
XYZxyz(72.3243, 83.6094, 29.1546)
Luminance0.8361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F175 #7579F5
analogous
#F5B175 #F5F175 #B9F575
triadic
#F5F175 #75F5F1 #F175F5
tetradic
#F5F175 #75F5B1 #7579F5 #F575B9
square
#F5F175 #75F5B1 #7579F5 #F575B9
split-complementary
#F5F175 #75B9F5 #B175F5
monochromatic
#DFD910 #F1EB3C #F5F175 #F9F7AE #FDFCE2

Accessibility & contrast

On white

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

On black

17.72
#F5F175 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F175
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F175#FFFFFF#000000##000000
##F5F1751.001.1917.7217.72
#FFFFFF1.191.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE969
Deuteranopia (green-blind)
#FFEE7B
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f5f175;
/* rgb */ color: rgb(245, 241, 117);
/* oklch */ color: oklch(93.7% 0.146 107.2);
Tailwind
colors: {
  custom: {
    50: '#fbf5a0',
    500: '#f5f175',
    950: '#000000',
  },
}
SCSS
$custom: #f5f175;
$custom-light: #fbf5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f175",
  "rgb": {
    "r": 245,
    "g": 241,
    "b": 117
  },
  "hsl": {
    "h": 58.125,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93703,
    "c": 0.14593,
    "h": 107.2
  },
  "luminance": 0.83607
}

Semantic roles & 50–950 ramp

primary
#F5F175
secondary
#3F43D0
accent
#09E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F175

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

Preview Lab → · Contrast checker → · Palette generator →

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