#F5F06A#F5F06A

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

Color values

HEX#F5F06A
RGBrgb(245, 240, 106)
HSLhsl(58, 87%, 69%)
HSVhsv(58, 57%, 96%)
CMYKcmyk(0%, 2%, 56.7%, 3.9%)
CIE-LABlab(92.92, -14.90, 63.95)
CIE-LCHlch(92.92, 65.66, 103.12°)
OKLaboklab(93.38% -0.0453 0.1477)
OKLCHoklch(93.38% 0.155 107.1)
XYZxyz(71.4200, 82.7754, 25.8480)
Luminance0.8277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F06A #6A6FF5
analogous
#F5AB6A #F5F06A #B5F56A
triadic
#F5F06A #6AF5F0 #F06AF5
tetradic
#F5F06A #6AF5AB #6A6FF5 #F56AB5
square
#F5F06A #6AF5AB #6A6FF5 #F56AB5
split-complementary
#F5F06A #6AB5F5 #AB6AF5
monochromatic
#D6CF0E #F1EA31 #F5F06A #F9F6A3 #FDFCDD

Accessibility & contrast

On white

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

On black

17.55
#F5F06A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F06A
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F06A#FFFFFF#000000##000000
##F5F06A1.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f06a;
/* rgb */ color: rgb(245, 240, 106);
/* oklch */ color: oklch(93.4% 0.155 107.1);
Tailwind
colors: {
  custom: {
    50: '#fbf499',
    500: '#f5f06a',
    950: '#000000',
  },
}
SCSS
$custom: #f5f06a;
$custom-light: #fbf499;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f06a",
  "rgb": {
    "r": 245,
    "g": 240,
    "b": 106
  },
  "hsl": {
    "h": 57.842,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.93378,
    "c": 0.15453,
    "h": 107.1
  },
  "luminance": 0.82773
}

Semantic roles & 50–950 ramp

primary
#F5F06A
secondary
#353ACE
accent
#0AE402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F06A

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

Preview Lab → · Contrast checker → · Palette generator →

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