#F5F75C#F5F75C

#F5F75C is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.7% C 0.172 H 110.0°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#F5F75C
RGBrgb(245, 247, 92)
HSLhsl(61, 91%, 66%)
HSVhsv(61, 63%, 97%)
CMYKcmyk(0.8%, 0%, 62.8%, 3.1%)
CIE-LABlab(94.61, -19.20, 71.57)
CIE-LCHlch(94.61, 74.10, 105.02°)
OKLaboklab(94.7% -0.059 0.1621)
OKLCHoklch(94.7% 0.172 110)
XYZxyz(72.8510, 86.7087, 23.0220)
Luminance0.8671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F75C #5E5CF7
analogous
#F7AC5C #F5F75C #A8F75C
triadic
#F5F75C #5CF5F7 #F75CF5
tetradic
#F5F75C #5CF7AC #5E5CF7 #F75CA8
square
#F5F75C #5CF7AC #5E5CF7 #F75CA8
split-complementary
#F5F75C #5CA8F7 #AC5CF7
monochromatic
#CCCE0A #F1F422 #F5F75C #F9FA96 #FCFDD1

Accessibility & contrast

On white

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

On black

18.34
#F5F75C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F75C
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F75C#FFFFFF#000000##000000
##F5F75C1.001.1418.3418.34
#FFFFFF1.141.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED48
Deuteranopia (green-blind)
#FFF266
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f75c;
/* rgb */ color: rgb(245, 247, 92);
/* oklch */ color: oklch(94.7% 0.172 110.0);
Tailwind
colors: {
  custom: {
    50: '#fcf991',
    500: '#f5f75c',
    950: '#000000',
  },
}
SCSS
$custom: #f5f75c;
$custom-light: #fcf991;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f75c",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 92
  },
  "hsl": {
    "h": 60.774,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.94695,
    "c": 0.17244,
    "h": 110
  },
  "luminance": 0.86707
}

Semantic roles & 50–950 ramp

primary
#F5F75C
secondary
#2F2DCA
accent
#00E603
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F75C

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

Preview Lab → · Contrast checker → · Palette generator →

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