#F5F46D#F5F46D

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

Color values

HEX#F5F46D
RGBrgb(245, 244, 109)
HSLhsl(60, 87%, 69%)
HSVhsv(60, 56%, 96%)
CMYKcmyk(0%, 0.4%, 55.5%, 3.9%)
CIE-LABlab(93.98, -16.63, 63.84)
CIE-LCHlch(93.98, 65.97, 104.60°)
OKLaboklab(94.23% -0.0499 0.1479)
OKLCHoklch(94.23% 0.156 108.7)
XYZxyz(72.7692, 85.2199, 27.0808)
Luminance0.8522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F46D #6D6EF5
analogous
#F5B06D #F5F46D #B2F56D
triadic
#F5F46D #6DF5F4 #F46DF5
tetradic
#F5F46D #6DF5B0 #6D6EF5 #F56DB2
square
#F5F46D #6DF5B0 #6D6EF5 #F56DB2
split-complementary
#F5F46D #6DB2F5 #B06DF5
monochromatic
#D9D70F #F1F034 #F5F46D #F9F8A6 #FDFDE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5F46D#FFFFFF#000000##000000
##F5F46D1.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)
#FFEB5F
Deuteranopia (green-blind)
#FFF074
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f5f46d;
/* rgb */ color: rgb(245, 244, 109);
/* oklch */ color: oklch(94.2% 0.156 108.7);
Tailwind
colors: {
  custom: {
    50: '#fbf79b',
    500: '#f5f46d',
    950: '#000000',
  },
}
SCSS
$custom: #f5f46d;
$custom-light: #fbf79b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f46d",
  "rgb": {
    "r": 245,
    "g": 244,
    "b": 109
  },
  "hsl": {
    "h": 59.559,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.94233,
    "c": 0.15605,
    "h": 108.7
  },
  "luminance": 0.85218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5F46D

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

Preview Lab → · Contrast checker → · Palette generator →

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