#F5E25F#F5E25F

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

Color values

HEX#F5E25F
RGBrgb(245, 226, 95)
HSLhsl(52, 88%, 67%)
HSVhsv(52, 61%, 96%)
CMYKcmyk(0%, 7.8%, 61.2%, 3.9%)
CIE-LABlab(89.22, -8.73, 64.58)
CIE-LCHlch(89.22, 65.17, 97.70°)
OKLaboklab(90.41% -0.0289 0.1477)
OKLCHoklch(90.41% 0.15 101.1)
XYZxyz(66.9207, 74.6341, 21.7051)
Luminance0.7463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E25F #5F72F5
analogous
#F5975F #F5E25F #BDF55F
triadic
#F5E25F #5FF5E2 #E25FF5
tetradic
#F5E25F #5FF597 #5F72F5 #F55FBD
square
#F5E25F #5FF597 #5F72F5 #F55FBD
split-complementary
#F5E25F #5FBDF5 #975FF5
monochromatic
#CDB40D #F1D825 #F5E25F #F9EC99 #FCF7D2

Accessibility & contrast

On white

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

On black

15.93
#F5E25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E25F
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E25F#FFFFFF#000000##000000
##F5E25F1.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e25f;
/* rgb */ color: rgb(245, 226, 95);
/* oklch */ color: oklch(90.4% 0.150 101.1);
Tailwind
colors: {
  custom: {
    50: '#fcea91',
    500: '#f5e25f',
    950: '#000000',
  },
}
SCSS
$custom: #f5e25f;
$custom-light: #fcea91;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e25f",
  "rgb": {
    "r": 245,
    "g": 226,
    "b": 95
  },
  "hsl": {
    "h": 52.4,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90409,
    "c": 0.15049,
    "h": 101.1
  },
  "luminance": 0.74631
}

Semantic roles & 50–950 ramp

primary
#F5E25F
secondary
#2F43C9
accent
#1EE501
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5E25F

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

Preview Lab → · Contrast checker → · Palette generator →

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