#F5F656#F5F656

#F5F656 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.4% C 0.176 H 109.7°. Best body text is #000000 at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#F5F656
RGBrgb(245, 246, 86)
HSLhsl(60, 90%, 65%)
HSVhsv(60, 65%, 96%)
CMYKcmyk(0.4%, 0%, 65%, 3.5%)
CIE-LABlab(94.31, -19.07, 73.56)
CIE-LCHlch(94.31, 75.99, 104.53°)
OKLaboklab(94.44% -0.0592 0.1654)
OKLCHoklch(94.44% 0.176 109.7)
XYZxyz(72.2940, 85.9979, 21.5933)
Luminance0.8600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F656 #5756F6
analogous
#F6A756 #F5F656 #A5F656
triadic
#F5F656 #56F5F6 #F656F5
tetradic
#F5F656 #56F6A7 #5756F6 #F656A5
square
#F5F656 #56F6A7 #5756F6 #F656A5
split-complementary
#F5F656 #56A5F6 #A756F6
monochromatic
#C6C70B #F2F31C #F5F656 #F8F990 #FCFCCA

Accessibility & contrast

On white

1.15
#F5F656 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.20
#F5F656 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F656
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F656#FFFFFF#000000##000000
##F5F6561.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC3F
Deuteranopia (green-blind)
#FFF161
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f656;
/* rgb */ color: rgb(245, 246, 86);
/* oklch */ color: oklch(94.4% 0.176 109.7);
Tailwind
colors: {
  custom: {
    50: '#fcf88e',
    500: '#f5f656',
    950: '#000000',
  },
}
SCSS
$custom: #f5f656;
$custom-light: #fcf88e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f656",
  "rgb": {
    "r": 245,
    "g": 246,
    "b": 86
  },
  "hsl": {
    "h": 60.375,
    "s": 89.888,
    "l": 65.098
  },
  "oklch": {
    "l": 0.9444,
    "c": 0.17564,
    "h": 109.7
  },
  "luminance": 0.85996
}

Semantic roles & 50–950 ramp

primary
#F5F656
secondary
#2D2DC4
accent
#00E601
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F656

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

Preview Lab → · Contrast checker → · Palette generator →

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