#F5F26D#F5F26D

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

Color values

HEX#F5F26D
RGBrgb(245, 242, 109)
HSLhsl(59, 87%, 69%)
HSVhsv(59, 56%, 96%)
CMYKcmyk(0%, 1.2%, 55.5%, 3.9%)
CIE-LABlab(93.46, -15.66, 63.26)
CIE-LCHlch(93.46, 65.17, 103.90°)
OKLaboklab(93.82% -0.0472 0.1466)
OKLCHoklch(93.82% 0.154 107.8)
XYZxyz(72.1707, 84.0229, 26.8813)
Luminance0.8402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F26D #6D70F5
analogous
#F5AE6D #F5F26D #B4F56D
triadic
#F5F26D #6DF5F2 #F26DF5
tetradic
#F5F26D #6DF5AE #6D70F5 #F56DB4
square
#F5F26D #6DF5AE #6D70F5 #F56DB4
split-complementary
#F5F26D #6DB4F5 #AE6DF5
monochromatic
#D9D40F #F1ED34 #F5F26D #F9F7A6 #FDFCE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5F26D#FFFFFF#000000##000000
##F5F26D1.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)
#FFE95F
Deuteranopia (green-blind)
#FFEF74
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f5f26d;
/* rgb */ color: rgb(245, 242, 109);
/* oklch */ color: oklch(93.8% 0.154 107.8);
Tailwind
colors: {
  custom: {
    50: '#fbf69b',
    500: '#f5f26d',
    950: '#000000',
  },
}
SCSS
$custom: #f5f26d;
$custom-light: #fbf69b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f26d",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 109
  },
  "hsl": {
    "h": 58.676,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.93821,
    "c": 0.154,
    "h": 107.8
  },
  "luminance": 0.84021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5F26D

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

Preview Lab → · Contrast checker → · Palette generator →

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