#F5E26D#F5E26D

#F5E26D is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.6% C 0.139 H 100.2°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#F5E26D
RGBrgb(245, 226, 109)
HSLhsl(52, 87%, 69%)
HSVhsv(52, 56%, 96%)
CMYKcmyk(0%, 7.8%, 55.5%, 3.9%)
CIE-LABlab(89.35, -7.76, 58.58)
CIE-LCHlch(89.35, 59.09, 97.54°)
OKLaboklab(90.56% -0.0246 0.1366)
OKLCHoklch(90.56% 0.139 100.2)
XYZxyz(67.6152, 74.9120, 25.3629)
Luminance0.7491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E26D #6D80F5
analogous
#F59E6D #F5E26D #C4F56D
triadic
#F5E26D #6DF5E2 #E26DF5
tetradic
#F5E26D #6DF59E #6D80F5 #F56DC4
square
#F5E26D #6DF59E #6D80F5 #F56DC4
split-complementary
#F5E26D #6DC4F5 #9E6DF5
monochromatic
#D9BD0F #F1D734 #F5E26D #F9EDA6 #FDF9E0

Accessibility & contrast

On white

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

On black

15.98
#F5E26D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E26D
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E26D#FFFFFF#000000##000000
##F5E26D1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e26d;
/* rgb */ color: rgb(245, 226, 109);
/* oklch */ color: oklch(90.6% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#fbea9a',
    500: '#f5e26d',
    950: '#000000',
  },
}
SCSS
$custom: #f5e26d;
$custom-light: #fbea9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e26d",
  "rgb": {
    "r": 245,
    "g": 226,
    "b": 109
  },
  "hsl": {
    "h": 51.618,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90555,
    "c": 0.13876,
    "h": 100.2
  },
  "luminance": 0.74909
}

Semantic roles & 50–950 ramp

primary
#F5E26D
secondary
#374DCF
accent
#21E402
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E26D

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

Preview Lab → · Contrast checker → · Palette generator →

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