#F5F06B#F5F06B

#F5F06B is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 93.4% C 0.154 H 107.0°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#F5F06B
RGBrgb(245, 240, 107)
HSLhsl(58, 87%, 69%)
HSVhsv(58, 56%, 96%)
CMYKcmyk(0%, 2%, 56.3%, 3.9%)
CIE-LABlab(92.93, -14.83, 63.53)
CIE-LCHlch(92.93, 65.23, 103.14°)
OKLaboklab(93.39% -0.045 0.147)
OKLCHoklch(93.39% 0.154 107)
XYZxyz(71.4723, 82.7963, 26.1234)
Luminance0.8279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F06B #6B70F5
analogous
#F5AB6B #F5F06B #B5F56B
triadic
#F5F06B #6BF5F0 #F06BF5
tetradic
#F5F06B #6BF5AB #6B70F5 #F56BB5
square
#F5F06B #6BF5AB #6B70F5 #F56BB5
split-complementary
#F5F06B #6BB5F5 #AB6BF5
monochromatic
#D7D00F #F1EA32 #F5F06B #F9F6A4 #FDFCDE

Accessibility & contrast

On white

1.20
#F5F06B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.56
#F5F06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F06B
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F06B#FFFFFF#000000##000000
##F5F06B1.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE85D
Deuteranopia (green-blind)
#FFED72
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5f06b;
/* rgb */ color: rgb(245, 240, 107);
/* oklch */ color: oklch(93.4% 0.154 107.0);
Tailwind
colors: {
  custom: {
    50: '#fbf49a',
    500: '#f5f06b',
    950: '#000000',
  },
}
SCSS
$custom: #f5f06b;
$custom-light: #fbf49a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f06b",
  "rgb": {
    "r": 245,
    "g": 240,
    "b": 107
  },
  "hsl": {
    "h": 57.826,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.93388,
    "c": 0.15369,
    "h": 107
  },
  "luminance": 0.82794
}

Semantic roles & 50–950 ramp

primary
#F5F06B
secondary
#363BCE
accent
#0AE402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F06B

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

Preview Lab → · Contrast checker → · Palette generator →

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