#F5F35F#F5F35F

#F5F35F is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 93.9% C 0.166 H 108.5°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#F5F35F
RGBrgb(245, 243, 95)
HSLhsl(59, 88%, 67%)
HSVhsv(59, 61%, 96%)
CMYKcmyk(0%, 0.8%, 61.2%, 3.9%)
CIE-LABlab(93.60, -17.09, 69.30)
CIE-LCHlch(93.60, 71.37, 103.85°)
OKLaboklab(93.89% -0.0527 0.1577)
OKLCHoklch(93.89% 0.166 108.5)
XYZxyz(71.7746, 84.3420, 23.3230)
Luminance0.8434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F35F #5F61F5
analogous
#F5A85F #F5F35F #ACF55F
triadic
#F5F35F #5FF5F3 #F35FF5
tetradic
#F5F35F #5FF5A8 #5F61F5 #F55FAC
square
#F5F35F #5FF5A8 #5F61F5 #F55FAC
split-complementary
#F5F35F #5FACF5 #A85FF5
monochromatic
#CDCA0D #F1EF25 #F5F35F #F9F799 #FCFCD2

Accessibility & contrast

On white

1.18
#F5F35F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#F5F35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F35F
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F35F#FFFFFF#000000##000000
##F5F35F1.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA4D
Deuteranopia (green-blind)
#FFEF68
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f5f35f;
/* rgb */ color: rgb(245, 243, 95);
/* oklch */ color: oklch(93.9% 0.166 108.5);
Tailwind
colors: {
  custom: {
    50: '#fcf693',
    500: '#f5f35f',
    950: '#000000',
  },
}
SCSS
$custom: #f5f35f;
$custom-light: #fcf693;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f35f",
  "rgb": {
    "r": 245,
    "g": 243,
    "b": 95
  },
  "hsl": {
    "h": 59.2,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.93892,
    "c": 0.16625,
    "h": 108.5
  },
  "luminance": 0.8434
}

Semantic roles & 50–950 ramp

primary
#F5F35F
secondary
#2F31C9
accent
#04E501
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F35F

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

Preview Lab → · Contrast checker → · Palette generator →

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