#F5F25E#F5F25E

#F5F25E is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.7% C 0.166 H 108.1°. Best body text is #000000 at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#F5F25E
RGBrgb(245, 242, 94)
HSLhsl(59, 88%, 66%)
HSVhsv(59, 62%, 96%)
CMYKcmyk(0%, 1.2%, 61.6%, 3.9%)
CIE-LABlab(93.33, -16.67, 69.42)
CIE-LCHlch(93.33, 71.39, 103.50°)
OKLaboklab(93.68% -0.0516 0.1578)
OKLCHoklch(93.68% 0.166 108.1)
XYZxyz(71.4310, 83.7270, 22.9857)
Luminance0.8373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F25E #5E61F5
analogous
#F5A75E #F5F25E #ADF55E
triadic
#F5F25E #5EF5F2 #F25EF5
tetradic
#F5F25E #5EF5A7 #5E61F5 #F55EAD
square
#F5F25E #5EF5A7 #5E61F5 #F55EAD
split-complementary
#F5F25E #5EADF5 #A75EF5
monochromatic
#CCC80D #F1ED24 #F5F25E #F9F798 #FCFBD1

Accessibility & contrast

On white

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

On black

17.75
#F5F25E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F25E
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F25E#FFFFFF#000000##000000
##F5F25E1.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE94C
Deuteranopia (green-blind)
#FFEE67
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f5f25e;
/* rgb */ color: rgb(245, 242, 94);
/* oklch */ color: oklch(93.7% 0.166 108.1);
Tailwind
colors: {
  custom: {
    50: '#fcf692',
    500: '#f5f25e',
    950: '#000000',
  },
}
SCSS
$custom: #f5f25e;
$custom-light: #fcf692;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f25e",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 94
  },
  "hsl": {
    "h": 58.808,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.93677,
    "c": 0.16601,
    "h": 108.1
  },
  "luminance": 0.83725
}

Semantic roles & 50–950 ramp

primary
#F5F25E
secondary
#2F32C8
accent
#05E501
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F25E

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

Preview Lab → · Contrast checker → · Palette generator →

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