#F5F06F#F5F06F

#F5F06F is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.4% C 0.150 H 106.9°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#F5F06F
RGBrgb(245, 240, 111)
HSLhsl(58, 87%, 70%)
HSVhsv(58, 55%, 96%)
CMYKcmyk(0%, 2%, 54.7%, 3.9%)
CIE-LABlab(92.96, -14.53, 61.82)
CIE-LCHlch(92.96, 63.50, 103.23°)
OKLaboklab(93.43% -0.0438 0.1437)
OKLCHoklch(93.43% 0.15 106.9)
XYZxyz(71.6876, 82.8824, 27.2575)
Luminance0.8288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F06F #6F74F5
analogous
#F5AD6F #F5F06F #B7F56F
triadic
#F5F06F #6FF5F0 #F06FF5
tetradic
#F5F06F #6FF5AD #6F74F5 #F56FB7
square
#F5F06F #6FF5AD #6F74F5 #F56FB7
split-complementary
#F5F06F #6FB7F5 #AD6FF5
monochromatic
#DAD30F #F1EA36 #F5F06F #F9F6A8 #FDFCE1

Accessibility & contrast

On white

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

On black

17.58
#F5F06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F06F
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F06F#FFFFFF#000000##000000
##F5F06F1.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE862
Deuteranopia (green-blind)
#FFED76
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5f06f;
/* rgb */ color: rgb(245, 240, 111);
/* oklch */ color: oklch(93.4% 0.150 106.9);
Tailwind
colors: {
  custom: {
    50: '#fbf49c',
    500: '#f5f06f',
    950: '#000000',
  },
}
SCSS
$custom: #f5f06f;
$custom-light: #fbf49c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f06f",
  "rgb": {
    "r": 245,
    "g": 240,
    "b": 111
  },
  "hsl": {
    "h": 57.761,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.93431,
    "c": 0.15025,
    "h": 106.9
  },
  "luminance": 0.8288
}

Semantic roles & 50–950 ramp

primary
#F5F06F
secondary
#393FCF
accent
#0AE402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F06F

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

Preview Lab → · Contrast checker → · Palette generator →

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