#F5F357#F5F357

#F5F357 is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 93.8% C 0.172 H 108.6°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#F5F357
RGBrgb(245, 243, 87)
HSLhsl(59, 89%, 65%)
HSVhsv(59, 64%, 96%)
CMYKcmyk(0%, 0.8%, 64.5%, 3.9%)
CIE-LABlab(93.54, -17.56, 72.39)
CIE-LCHlch(93.54, 74.49, 103.64°)
OKLaboklab(93.83% -0.0548 0.1631)
OKLCHoklch(93.83% 0.172 108.6)
XYZxyz(71.4295, 84.2039, 21.5053)
Luminance0.8420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F357 #5759F5
analogous
#F5A457 #F5F357 #A8F557
triadic
#F5F357 #57F5F3 #F357F5
tetradic
#F5F357 #57F5A4 #5759F5 #F557A8
square
#F5F357 #57F5A4 #5759F5 #F557A8
split-complementary
#F5F357 #57A8F5 #A457F5
monochromatic
#C6C30C #F2EF1D #F5F357 #F8F791 #FCFBCB

Accessibility & contrast

On white

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

On black

17.84
#F5F357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F357
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F357#FFFFFF#000000##000000
##F5F3571.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE941
Deuteranopia (green-blind)
#FFEF61
Tritanopia (blue-blind)
#FFE4D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f5f357;
/* rgb */ color: rgb(245, 243, 87);
/* oklch */ color: oklch(93.8% 0.172 108.6);
Tailwind
colors: {
  custom: {
    50: '#fcf68e',
    500: '#f5f357',
    950: '#000000',
  },
}
SCSS
$custom: #f5f357;
$custom-light: #fcf68e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f357",
  "rgb": {
    "r": 245,
    "g": 243,
    "b": 87
  },
  "hsl": {
    "h": 59.241,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.93825,
    "c": 0.17203,
    "h": 108.6
  },
  "luminance": 0.84202
}

Semantic roles & 50–950 ramp

primary
#F5F357
secondary
#2D2FC3
accent
#03E500
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F357

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

Preview Lab → · Contrast checker → · Palette generator →

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