#F5F26C#F5F26C

#F5F26C is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.8% C 0.155 H 107.9°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#F5F26C
RGBrgb(245, 242, 108)
HSLhsl(59, 87%, 69%)
HSVhsv(59, 56%, 96%)
CMYKcmyk(0%, 1.2%, 55.9%, 3.9%)
CIE-LABlab(93.45, -15.73, 63.68)
CIE-LCHlch(93.45, 65.60, 103.88°)
OKLaboklab(93.81% -0.0475 0.1474)
OKLCHoklch(93.81% 0.155 107.9)
XYZxyz(72.1172, 84.0015, 26.5994)
Luminance0.8400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F26C #6C6FF5
analogous
#F5AE6C #F5F26C #B4F56C
triadic
#F5F26C #6CF5F2 #F26CF5
tetradic
#F5F26C #6CF5AE #6C6FF5 #F56CB4
square
#F5F26C #6CF5AE #6C6FF5 #F56CB4
split-complementary
#F5F26C #6CB4F5 #AE6CF5
monochromatic
#D8D40F #F1ED33 #F5F26C #F9F7A5 #FDFCDF

Accessibility & contrast

On white

1.18
#F5F26C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.80
#F5F26C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F26C
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F26C#FFFFFF#000000##000000
##F5F26C1.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE95E
Deuteranopia (green-blind)
#FFEF73
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f5f26c;
/* rgb */ color: rgb(245, 242, 108);
/* oklch */ color: oklch(93.8% 0.155 107.9);
Tailwind
colors: {
  custom: {
    50: '#fbf69a',
    500: '#f5f26c',
    950: '#000000',
  },
}
SCSS
$custom: #f5f26c;
$custom-light: #fbf69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f26c",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 108
  },
  "hsl": {
    "h": 58.686,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.9381,
    "c": 0.15486,
    "h": 107.9
  },
  "luminance": 0.83999
}

Semantic roles & 50–950 ramp

primary
#F5F26C
secondary
#373ACF
accent
#07E402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F26C

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

Preview Lab → · Contrast checker → · Palette generator →

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