#F5F673#F5F673

#F5F673 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.7% C 0.153 H 109.4°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#F5F673
RGBrgb(245, 246, 115)
HSLhsl(60, 88%, 71%)
HSVhsv(60, 53%, 96%)
CMYKcmyk(0.4%, 0%, 53.3%, 3.5%)
CIE-LABlab(94.55, -17.15, 61.87)
CIE-LCHlch(94.55, 64.20, 105.49°)
OKLaboklab(94.71% -0.0508 0.1443)
OKLCHoklch(94.71% 0.153 109.4)
XYZxyz(73.7083, 86.5636, 29.0420)
Luminance0.8656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F673 #7473F6
analogous
#F6B573 #F5F673 #B3F673
triadic
#F5F673 #73F5F6 #F673F5
tetradic
#F5F673 #73F6B5 #7473F6 #F673B3
square
#F5F673 #73F6B5 #7473F6 #F673B3
split-complementary
#F5F673 #73B3F6 #B573F6
monochromatic
#DFE00E #F1F239 #F5F673 #F9FAAD #FDFDE2

Accessibility & contrast

On white

1.15
#F5F673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.31
#F5F673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F673
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F673#FFFFFF#000000##000000
##F5F6731.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED66
Deuteranopia (green-blind)
#FFF17A
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f673;
/* rgb */ color: rgb(245, 246, 115);
/* oklch */ color: oklch(94.7% 0.153 109.4);
Tailwind
colors: {
  custom: {
    50: '#fbf99f',
    500: '#f5f673',
    950: '#000000',
  },
}
SCSS
$custom: #f5f673;
$custom-light: #fbf99f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f673",
  "rgb": {
    "r": 245,
    "g": 246,
    "b": 115
  },
  "hsl": {
    "h": 60.458,
    "s": 87.919,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9471,
    "c": 0.15295,
    "h": 109.4
  },
  "luminance": 0.86562
}

Semantic roles & 50–950 ramp

primary
#F5F673
secondary
#3E3DD1
accent
#01E403
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F673

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

Preview Lab → · Contrast checker → · Palette generator →

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