#F5E25E#F5E25E

#F5E25E is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.4% C 0.151 H 101.1°. Best body text is #000000 at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#F5E25E
RGBrgb(245, 226, 94)
HSLhsl(52, 88%, 66%)
HSVhsv(52, 62%, 96%)
CMYKcmyk(0%, 7.8%, 61.6%, 3.9%)
CIE-LABlab(89.21, -8.79, 65.00)
CIE-LCHlch(89.21, 65.59, 97.70°)
OKLaboklab(90.4% -0.0292 0.1484)
OKLCHoklch(90.4% 0.151 101.1)
XYZxyz(66.8756, 74.6161, 21.4672)
Luminance0.7461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E25E #5E71F5
analogous
#F5975E #F5E25E #BDF55E
triadic
#F5E25E #5EF5E2 #E25EF5
tetradic
#F5E25E #5EF597 #5E71F5 #F55EBD
square
#F5E25E #5EF597 #5E71F5 #F55EBD
split-complementary
#F5E25E #5EBDF5 #975EF5
monochromatic
#CCB40D #F1D824 #F5E25E #F9EC98 #FCF7D1

Accessibility & contrast

On white

1.32
#F5E25E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.92
#F5E25E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E25E
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E25E#FFFFFF#000000##000000
##F5E25E1.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC4F
Deuteranopia (green-blind)
#FBE465
Tritanopia (blue-blind)
#FFD3C6
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e25e;
/* rgb */ color: rgb(245, 226, 94);
/* oklch */ color: oklch(90.4% 0.151 101.1);
Tailwind
colors: {
  custom: {
    50: '#fcea91',
    500: '#f5e25e',
    950: '#000000',
  },
}
SCSS
$custom: #f5e25e;
$custom-light: #fcea91;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e25e",
  "rgb": {
    "r": 245,
    "g": 226,
    "b": 94
  },
  "hsl": {
    "h": 52.45,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.904,
    "c": 0.15128,
    "h": 101.1
  },
  "luminance": 0.74613
}

Semantic roles & 50–950 ramp

primary
#F5E25E
secondary
#2F42C8
accent
#1DE501
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5E25E

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

Preview Lab → · Contrast checker → · Palette generator →

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