#F5F286#F5F286

#F5F286 is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.1% C 0.131 H 107.3°. Best body text is #000000 at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#F5F286
RGBrgb(245, 242, 134)
HSLhsl(58, 85%, 74%)
HSVhsv(58, 45%, 96%)
CMYKcmyk(0%, 1.2%, 45.3%, 3.9%)
CIE-LABlab(93.73, -13.58, 52.18)
CIE-LCHlch(93.73, 53.92, 104.59°)
OKLaboklab(94.12% -0.0388 0.1248)
OKLCHoklch(94.12% 0.131 107.3)
XYZxyz(73.7129, 84.6398, 35.0037)
Luminance0.8464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F286 #8689F5
analogous
#F5BB86 #F5F286 #C1F586
triadic
#F5F286 #86F5F2 #F286F5
tetradic
#F5F286 #86F5BB #8689F5 #F586C1
square
#F5F286 #86F5BB #8689F5 #F586C1
split-complementary
#F5F286 #86C1F5 #BB86F5
monochromatic
#ECE615 #F0EC4D #F5F286 #FAF8BF #FDFCE3

Accessibility & contrast

On white

1.17
#F5F286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.93
#F5F286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F286
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F286#FFFFFF#000000##000000
##F5F2861.001.1717.9317.93
#FFFFFF1.171.0021.0021.00
#00000017.9321.001.001.00
##00000017.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7D
Deuteranopia (green-blind)
#FFEF8B
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f5f286;
/* rgb */ color: rgb(245, 242, 134);
/* oklch */ color: oklch(94.1% 0.131 107.3);
Tailwind
colors: {
  custom: {
    50: '#faf6ab',
    500: '#f5f286',
    950: '#000000',
  },
}
SCSS
$custom: #f5f286;
$custom-light: #faf6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f286",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 134
  },
  "hsl": {
    "h": 58.378,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.9412,
    "c": 0.13068,
    "h": 107.3
  },
  "luminance": 0.84638
}

Semantic roles & 50–950 ramp

primary
#F5F286
secondary
#4E51D2
accent
#0AE104
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5F286

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

Preview Lab → · Contrast checker → · Palette generator →

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