#F5F76D#F5F76D

#F5F76D is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.9% C 0.159 H 109.9°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#F5F76D
RGBrgb(245, 247, 109)
HSLhsl(61, 90%, 70%)
HSVhsv(61, 56%, 97%)
CMYKcmyk(0.8%, 0%, 55.9%, 3.1%)
CIE-LABlab(94.76, -18.08, 64.71)
CIE-LCHlch(94.76, 67.19, 105.61°)
OKLaboklab(94.85% -0.0541 0.1497)
OKLCHoklch(94.85% 0.159 109.9)
XYZxyz(73.6792, 87.0400, 27.3842)
Luminance0.8704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F76D #6F6DF7
analogous
#F7B46D #F5F76D #B0F76D
triadic
#F5F76D #6DF5F7 #F76DF5
tetradic
#F5F76D #6DF7B4 #6F6DF7 #F76DB0
square
#F5F76D #6DF7B4 #6F6DF7 #F76DB0
split-complementary
#F5F76D #6DB0F7 #B46DF7
monochromatic
#DADD0C #F1F433 #F5F76D #F9FAA7 #FDFDE1

Accessibility & contrast

On white

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

On black

18.41
#F5F76D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F76D
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F76D#FFFFFF#000000##000000
##F5F76D1.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5E
Deuteranopia (green-blind)
#FFF275
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5f76d;
/* rgb */ color: rgb(245, 247, 109);
/* oklch */ color: oklch(94.9% 0.159 109.9);
Tailwind
colors: {
  custom: {
    50: '#fbf99b',
    500: '#f5f76d',
    950: '#000000',
  },
}
SCSS
$custom: #f5f76d;
$custom-light: #fbf99b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f76d",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 109
  },
  "hsl": {
    "h": 60.87,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.94853,
    "c": 0.15917,
    "h": 109.9
  },
  "luminance": 0.87038
}

Semantic roles & 50–950 ramp

primary
#F5F76D
secondary
#3937D1
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F76D

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

Preview Lab → · Contrast checker → · Palette generator →

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