#F5F75A#F5F75A

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

Color values

HEX#F5F75A
RGBrgb(245, 247, 90)
HSLhsl(61, 91%, 66%)
HSVhsv(61, 64%, 97%)
CMYKcmyk(0.8%, 0%, 63.6%, 3.1%)
CIE-LABlab(94.60, -19.32, 72.33)
CIE-LCHlch(94.60, 74.87, 104.96°)
OKLaboklab(94.68% -0.0595 0.1634)
OKLCHoklch(94.68% 0.174 110)
XYZxyz(72.7647, 86.6741, 22.5676)
Luminance0.8667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F75A #5C5AF7
analogous
#F7AA5A #F5F75A #A6F75A
triadic
#F5F75A #5AF5F7 #F75AF5
tetradic
#F5F75A #5AF7AA #5C5AF7 #F75AA6
square
#F5F75A #5AF7AA #5C5AF7 #F75AA6
split-complementary
#F5F75A #5AA6F7 #AA5AF7
monochromatic
#CACD0A #F1F420 #F5F75A #F9FA94 #FCFDCF

Accessibility & contrast

On white

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

On black

18.33
#F5F75A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F75A
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F75A#FFFFFF#000000##000000
##F5F75A1.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f75a;
/* rgb */ color: rgb(245, 247, 90);
/* oklch */ color: oklch(94.7% 0.174 110.0);
Tailwind
colors: {
  custom: {
    50: '#fcf990',
    500: '#f5f75a',
    950: '#000000',
  },
}
SCSS
$custom: #f5f75a;
$custom-light: #fcf990;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f75a",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 90
  },
  "hsl": {
    "h": 60.764,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.94679,
    "c": 0.17386,
    "h": 110
  },
  "luminance": 0.86672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5F75A

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

Preview Lab → · Contrast checker → · Palette generator →

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