#F5F26A#F5F26A

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

Color values

HEX#F5F26A
RGBrgb(245, 242, 106)
HSLhsl(59, 87%, 69%)
HSVhsv(59, 57%, 96%)
CMYKcmyk(0%, 1.2%, 56.7%, 3.9%)
CIE-LABlab(93.43, -15.87, 64.53)
CIE-LCHlch(93.43, 66.45, 103.82°)
OKLaboklab(93.79% -0.0481 0.149)
OKLCHoklch(93.79% 0.157 107.9)
XYZxyz(72.0120, 83.9594, 26.0453)
Luminance0.8396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F26A #6A6DF5
analogous
#F5AD6A #F5F26A #B3F56A
triadic
#F5F26A #6AF5F2 #F26AF5
tetradic
#F5F26A #6AF5AD #6A6DF5 #F56AB3
square
#F5F26A #6AF5AD #6A6DF5 #F56AB3
split-complementary
#F5F26A #6AB3F5 #AD6AF5
monochromatic
#D6D20E #F1ED31 #F5F26A #F9F7A3 #FDFCDD

Accessibility & contrast

On white

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

On black

17.79
#F5F26A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F26A
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F26A#FFFFFF#000000##000000
##F5F26A1.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f26a;
/* rgb */ color: rgb(245, 242, 106);
/* oklch */ color: oklch(93.8% 0.157 107.9);
Tailwind
colors: {
  custom: {
    50: '#fbf699',
    500: '#f5f26a',
    950: '#000000',
  },
}
SCSS
$custom: #f5f26a;
$custom-light: #fbf699;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f26a",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 106
  },
  "hsl": {
    "h": 58.705,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.9379,
    "c": 0.15653,
    "h": 107.9
  },
  "luminance": 0.83957
}

Semantic roles & 50–950 ramp

primary
#F5F26A
secondary
#3538CE
accent
#06E402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F26A

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

Preview Lab → · Contrast checker → · Palette generator →

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