#F5F56D#F5F56D

#F5F56D is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.4% C 0.157 H 109.1°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#F5F56D
RGBrgb(245, 245, 109)
HSLhsl(60, 87%, 69%)
HSVhsv(60, 56%, 96%)
CMYKcmyk(0%, 0%, 55.5%, 3.9%)
CIE-LABlab(94.24, -17.12, 64.13)
CIE-LCHlch(94.24, 66.38, 104.94°)
OKLaboklab(94.44% -0.0513 0.1485)
OKLCHoklch(94.44% 0.157 109.1)
XYZxyz(73.0709, 85.8233, 27.1814)
Luminance0.8582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F56D #6D6DF5
analogous
#F5B16D #F5F56D #B1F56D
triadic
#F5F56D #6DF5F5 #F56DF5
tetradic
#F5F56D #6DF5B1 #6D6DF5 #F56DB1
square
#F5F56D #6DF5B1 #6D6DF5 #F56DB1
split-complementary
#F5F56D #6DB1F5 #B16DF5
monochromatic
#D9D90F #F1F134 #F5F56D #F9F9A6 #FDFDE0

Accessibility & contrast

On white

1.16
#F5F56D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.16
#F5F56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F56D
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F56D#FFFFFF#000000##000000
##F5F56D1.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5F
Deuteranopia (green-blind)
#FFF175
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f5f56d;
/* rgb */ color: rgb(245, 245, 109);
/* oklch */ color: oklch(94.4% 0.157 109.1);
Tailwind
colors: {
  custom: {
    50: '#fbf89b',
    500: '#f5f56d',
    950: '#000000',
  },
}
SCSS
$custom: #f5f56d;
$custom-light: #fbf89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f56d",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 109
  },
  "hsl": {
    "h": 60,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.94439,
    "c": 0.15709,
    "h": 109.1
  },
  "luminance": 0.85821
}

Semantic roles & 50–950 ramp

primary
#F5F56D
secondary
#3737CF
accent
#02E402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F56D

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

Preview Lab → · Contrast checker → · Palette generator →

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