#F5E26B#F5E26B

#F5E26B is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.5% C 0.141 H 100.3°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#F5E26B
RGBrgb(245, 226, 107)
HSLhsl(52, 87%, 69%)
HSVhsv(52, 56%, 96%)
CMYKcmyk(0%, 7.8%, 56.3%, 3.9%)
CIE-LABlab(89.33, -7.90, 59.46)
CIE-LCHlch(89.33, 59.98, 97.57°)
OKLaboklab(90.53% -0.0252 0.1382)
OKLCHoklch(90.53% 0.141 100.3)
XYZxyz(67.5088, 74.8694, 24.8023)
Luminance0.7487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E26B #6B7EF5
analogous
#F59D6B #F5E26B #C3F56B
triadic
#F5E26B #6BF5E2 #E26BF5
tetradic
#F5E26B #6BF59D #6B7EF5 #F56BC3
square
#F5E26B #6BF59D #6B7EF5 #F56BC3
split-complementary
#F5E26B #6BC3F5 #9D6BF5
monochromatic
#D7BB0F #F1D732 #F5E26B #F9EDA4 #FDF8DE

Accessibility & contrast

On white

1.31
#F5E26B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#F5E26B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E26B
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E26B#FFFFFF#000000##000000
##F5E26B1.001.3115.9715.97
#FFFFFF1.311.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC5F
Deuteranopia (green-blind)
#FAE471
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e26b;
/* rgb */ color: rgb(245, 226, 107);
/* oklch */ color: oklch(90.5% 0.141 100.3);
Tailwind
colors: {
  custom: {
    50: '#fbea99',
    500: '#f5e26b',
    950: '#000000',
  },
}
SCSS
$custom: #f5e26b;
$custom-light: #fbea99;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e26b",
  "rgb": {
    "r": 245,
    "g": 226,
    "b": 107
  },
  "hsl": {
    "h": 51.739,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90533,
    "c": 0.14052,
    "h": 100.3
  },
  "luminance": 0.74867
}

Semantic roles & 50–950 ramp

primary
#F5E26B
secondary
#364BCE
accent
#21E402
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E26B

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

Preview Lab → · Contrast checker → · Palette generator →

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