#F5F07A#F5F07A

#F5F07A is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.6% C 0.140 H 106.6°. Best body text is #000000 at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#F5F07A
RGBrgb(245, 240, 122)
HSLhsl(58, 86%, 72%)
HSVhsv(58, 50%, 96%)
CMYKcmyk(0%, 2%, 50.2%, 3.9%)
CIE-LABlab(93.08, -13.66, 56.99)
CIE-LCHlch(93.08, 58.61, 103.48°)
OKLaboklab(93.56% -0.0401 0.1344)
OKLCHoklch(93.56% 0.14 106.6)
XYZxyz(72.3310, 83.1398, 30.6460)
Luminance0.8314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F07A #7A7FF5
analogous
#F5B37A #F5F07A #BDF57A
triadic
#F5F07A #7AF5F0 #F07AF5
tetradic
#F5F07A #7AF5B3 #7A7FF5 #F57ABD
square
#F5F07A #7AF5B3 #7A7FF5 #F57ABD
split-complementary
#F5F07A #7ABDF5 #B37AF5
monochromatic
#E3DB11 #F1EA41 #F5F07A #F9F6B3 #FDFCE3

Accessibility & contrast

On white

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

On black

17.63
#F5F07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F07A
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F07A#FFFFFF#000000##000000
##F5F07A1.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86F
Deuteranopia (green-blind)
#FFEE80
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5f07a;
/* rgb */ color: rgb(245, 240, 122);
/* oklch */ color: oklch(93.6% 0.140 106.6);
Tailwind
colors: {
  custom: {
    50: '#fbf4a3',
    500: '#f5f07a',
    950: '#000000',
  },
}
SCSS
$custom: #f5f07a;
$custom-light: #fbf4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f07a",
  "rgb": {
    "r": 245,
    "g": 240,
    "b": 122
  },
  "hsl": {
    "h": 57.561,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.93557,
    "c": 0.14027,
    "h": 106.6
  },
  "luminance": 0.83138
}

Semantic roles & 50–950 ramp

primary
#F5F07A
secondary
#4349D0
accent
#0CE303
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F07A

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

Preview Lab → · Contrast checker → · Palette generator →

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