#F5F255#F5F255

#F5F255 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.6% C 0.172 H 108.2°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#F5F255
RGBrgb(245, 242, 85)
HSLhsl(59, 89%, 65%)
HSVhsv(59, 65%, 96%)
CMYKcmyk(0%, 1.2%, 65.3%, 3.9%)
CIE-LABlab(93.27, -17.19, 72.87)
CIE-LCHlch(93.27, 74.87, 103.27°)
OKLaboklab(93.6% -0.054 0.1638)
OKLCHoklch(93.6% 0.172 108.2)
XYZxyz(71.0505, 83.5748, 20.9814)
Luminance0.8357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F255 #5558F5
analogous
#F5A255 #F5F255 #A8F555
triadic
#F5F255 #55F5F2 #F255F5
tetradic
#F5F255 #55F5A2 #5558F5 #F555A8
square
#F5F255 #55F5A2 #5558F5 #F555A8
split-complementary
#F5F255 #55A8F5 #A255F5
monochromatic
#C4C10C #F2EE1B #F5F255 #F8F68F #FCFBC9

Accessibility & contrast

On white

1.19
#F5F255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.71
#F5F255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F255
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F255#FFFFFF#000000##000000
##F5F2551.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE93F
Deuteranopia (green-blind)
#FFEE5F
Tritanopia (blue-blind)
#FFE3D2
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f5f255;
/* rgb */ color: rgb(245, 242, 85);
/* oklch */ color: oklch(93.6% 0.172 108.2);
Tailwind
colors: {
  custom: {
    50: '#fcf68d',
    500: '#f5f255',
    950: '#000000',
  },
}
SCSS
$custom: #f5f255;
$custom-light: #fcf68d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f255",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 85
  },
  "hsl": {
    "h": 58.875,
    "s": 88.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.93603,
    "c": 0.17243,
    "h": 108.2
  },
  "luminance": 0.83573
}

Semantic roles & 50–950 ramp

primary
#F5F255
secondary
#2D30C1
accent
#04E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F255

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

Preview Lab → · Contrast checker → · Palette generator →

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