#F5F46C#F5F46C

#F5F46C is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.2% C 0.157 H 108.7°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#F5F46C
RGBrgb(245, 244, 108)
HSLhsl(60, 87%, 69%)
HSVhsv(60, 56%, 96%)
CMYKcmyk(0%, 0.4%, 55.9%, 3.9%)
CIE-LABlab(93.97, -16.70, 64.26)
CIE-LCHlch(93.97, 66.40, 104.57°)
OKLaboklab(94.22% -0.0502 0.1486)
OKLCHoklch(94.22% 0.157 108.7)
XYZxyz(72.7157, 85.1985, 26.7990)
Luminance0.8520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F46C #6C6DF5
analogous
#F5B06C #F5F46C #B2F56C
triadic
#F5F46C #6CF5F4 #F46CF5
tetradic
#F5F46C #6CF5B0 #6C6DF5 #F56CB2
square
#F5F46C #6CF5B0 #6C6DF5 #F56CB2
split-complementary
#F5F46C #6CB2F5 #B06CF5
monochromatic
#D8D60F #F1F033 #F5F46C #F9F8A5 #FDFDDF

Accessibility & contrast

On white

1.16
#F5F46C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.04
#F5F46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F46C
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F46C#FFFFFF#000000##000000
##F5F46C1.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB5D
Deuteranopia (green-blind)
#FFF074
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f5f46c;
/* rgb */ color: rgb(245, 244, 108);
/* oklch */ color: oklch(94.2% 0.157 108.7);
Tailwind
colors: {
  custom: {
    50: '#fbf79a',
    500: '#f5f46c',
    950: '#000000',
  },
}
SCSS
$custom: #f5f46c;
$custom-light: #fbf79a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f46c",
  "rgb": {
    "r": 245,
    "g": 244,
    "b": 108
  },
  "hsl": {
    "h": 59.562,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.94223,
    "c": 0.1569,
    "h": 108.7
  },
  "luminance": 0.85197
}

Semantic roles & 50–950 ramp

primary
#F5F46C
secondary
#3738CF
accent
#03E402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F46C

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

Preview Lab → · Contrast checker → · Palette generator →

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