#F5F75D#F5F75D

#F5F75D 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#F5F75D
RGBrgb(245, 247, 93)
HSLhsl(61, 91%, 67%)
HSVhsv(61, 62%, 97%)
CMYKcmyk(0.8%, 0%, 62.3%, 3.1%)
CIE-LABlab(94.62, -19.14, 71.18)
CIE-LCHlch(94.62, 73.71, 105.05°)
OKLaboklab(94.7% -0.0587 0.1614)
OKLCHoklch(94.7% 0.172 110)
XYZxyz(72.8950, 86.7263, 23.2537)
Luminance0.8672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F75D #5F5DF7
analogous
#F7AC5D #F5F75D #A8F75D
triadic
#F5F75D #5DF5F7 #F75DF5
tetradic
#F5F75D #5DF7AC #5F5DF7 #F75DA8
square
#F5F75D #5DF7AC #5F5DF7 #F75DA8
split-complementary
#F5F75D #5DA8F7 #AC5DF7
monochromatic
#CDCF0A #F1F423 #F5F75D #F9FA97 #FCFDD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5F75D#FFFFFF#000000##000000
##F5F75D1.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)
#FFED49
Deuteranopia (green-blind)
#FFF267
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f75d;
/* rgb */ color: rgb(245, 247, 93);
/* oklch */ color: oklch(94.7% 0.172 110.0);
Tailwind
colors: {
  custom: {
    50: '#fcf992',
    500: '#f5f75d',
    950: '#000000',
  },
}
SCSS
$custom: #f5f75d;
$custom-light: #fcf992;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f75d",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 93
  },
  "hsl": {
    "h": 60.779,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.94704,
    "c": 0.17172,
    "h": 110
  },
  "luminance": 0.86724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5F75D

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

Preview Lab → · Contrast checker → · Palette generator →

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