#F5F75E#F5F75E

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

Color values

HEX#F5F75E
RGBrgb(245, 247, 94)
HSLhsl(61, 91%, 67%)
HSVhsv(61, 62%, 97%)
CMYKcmyk(0.8%, 0%, 61.9%, 3.1%)
CIE-LABlab(94.63, -19.08, 70.79)
CIE-LCHlch(94.63, 73.32, 105.09°)
OKLaboklab(94.71% -0.0584 0.1607)
OKLCHoklch(94.71% 0.171 110)
XYZxyz(72.9396, 86.7441, 23.4885)
Luminance0.8674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F75E #605EF7
analogous
#F7AC5E #F5F75E #A9F75E
triadic
#F5F75E #5EF5F7 #F75EF5
tetradic
#F5F75E #5EF7AC #605EF7 #F75EA9
square
#F5F75E #5EF7AC #605EF7 #F75EA9
split-complementary
#F5F75E #5EA9F7 #AC5EF7
monochromatic
#CED00A #F1F424 #F5F75E #F9FA98 #FCFDD3

Accessibility & contrast

On white

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

On black

18.35
#F5F75E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F75E
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F75E#FFFFFF#000000##000000
##F5F75E1.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED4B
Deuteranopia (green-blind)
#FFF268
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5f75e;
/* rgb */ color: rgb(245, 247, 94);
/* oklch */ color: oklch(94.7% 0.171 110.0);
Tailwind
colors: {
  custom: {
    50: '#fcf992',
    500: '#f5f75e',
    950: '#000000',
  },
}
SCSS
$custom: #f5f75e;
$custom-light: #fcf992;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f75e",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 94
  },
  "hsl": {
    "h": 60.784,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.94712,
    "c": 0.17099,
    "h": 110
  },
  "luminance": 0.86742
}

Semantic roles & 50–950 ramp

primary
#F5F75E
secondary
#302ECC
accent
#00E603
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F75E

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

Preview Lab → · Contrast checker → · Palette generator →

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