#F5F35E#F5F35E

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

Color values

HEX#F5F35E
RGBrgb(245, 243, 94)
HSLhsl(59, 88%, 66%)
HSVhsv(59, 62%, 96%)
CMYKcmyk(0%, 0.8%, 61.6%, 3.9%)
CIE-LABlab(93.59, -17.15, 69.69)
CIE-LCHlch(93.59, 71.77, 103.83°)
OKLaboklab(93.88% -0.053 0.1584)
OKLCHoklch(93.88% 0.167 108.5)
XYZxyz(71.7295, 84.3239, 23.0852)
Luminance0.8432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F35E #5E60F5
analogous
#F5A85E #F5F35E #ACF55E
triadic
#F5F35E #5EF5F3 #F35EF5
tetradic
#F5F35E #5EF5A8 #5E60F5 #F55EAC
square
#F5F35E #5EF5A8 #5E60F5 #F55EAC
split-complementary
#F5F35E #5EACF5 #A85EF5
monochromatic
#CCC90D #F1EF24 #F5F35E #F9F798 #FCFCD1

Accessibility & contrast

On white

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

On black

17.86
#F5F35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F35E
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F35E#FFFFFF#000000##000000
##F5F35E1.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f35e;
/* rgb */ color: rgb(245, 243, 94);
/* oklch */ color: oklch(93.9% 0.167 108.5);
Tailwind
colors: {
  custom: {
    50: '#fcf692',
    500: '#f5f35e',
    950: '#000000',
  },
}
SCSS
$custom: #f5f35e;
$custom-light: #fcf692;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f35e",
  "rgb": {
    "r": 245,
    "g": 243,
    "b": 94
  },
  "hsl": {
    "h": 59.205,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.93883,
    "c": 0.167,
    "h": 108.5
  },
  "luminance": 0.84322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5F35E

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

Preview Lab → · Contrast checker → · Palette generator →

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