#F5F46A#F5F46A

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

Color values

HEX#F5F46A
RGBrgb(245, 244, 106)
HSLhsl(60, 87%, 69%)
HSVhsv(60, 57%, 96%)
CMYKcmyk(0%, 0.4%, 56.7%, 3.9%)
CIE-LABlab(93.95, -16.85, 65.10)
CIE-LCHlch(93.95, 67.25, 104.51°)
OKLaboklab(94.2% -0.0509 0.1502)
OKLCHoklch(94.2% 0.159 108.7)
XYZxyz(72.6105, 85.1564, 26.2448)
Luminance0.8515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F46A #6A6BF5
analogous
#F5AF6A #F5F46A #B1F56A
triadic
#F5F46A #6AF5F4 #F46AF5
tetradic
#F5F46A #6AF5AF #6A6BF5 #F56AB1
square
#F5F46A #6AF5AF #6A6BF5 #F56AB1
split-complementary
#F5F46A #6AB1F5 #AF6AF5
monochromatic
#D6D50E #F1F031 #F5F46A #F9F8A3 #FDFCDD

Accessibility & contrast

On white

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

On black

18.03
#F5F46A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F46A
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F46A#FFFFFF#000000##000000
##F5F46A1.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f46a;
/* rgb */ color: rgb(245, 244, 106);
/* oklch */ color: oklch(94.2% 0.159 108.7);
Tailwind
colors: {
  custom: {
    50: '#fbf799',
    500: '#f5f46a',
    950: '#000000',
  },
}
SCSS
$custom: #f5f46a;
$custom-light: #fbf799;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f46a",
  "rgb": {
    "r": 245,
    "g": 244,
    "b": 106
  },
  "hsl": {
    "h": 59.568,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.94202,
    "c": 0.15857,
    "h": 108.7
  },
  "luminance": 0.85154
}

Semantic roles & 50–950 ramp

primary
#F5F46A
secondary
#3536CE
accent
#03E402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F46A

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

Preview Lab → · Contrast checker → · Palette generator →

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