#F5F45E#F5F45E

#F5F45E is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.1% C 0.168 H 108.9°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#F5F45E
RGBrgb(245, 244, 94)
HSLhsl(60, 88%, 66%)
HSVhsv(60, 62%, 96%)
CMYKcmyk(0%, 0.4%, 61.6%, 3.9%)
CIE-LABlab(93.85, -17.64, 69.97)
CIE-LCHlch(93.85, 72.16, 104.15°)
OKLaboklab(94.09% -0.0543 0.159)
OKLCHoklch(94.09% 0.168 108.9)
XYZxyz(72.0295, 84.9240, 23.1852)
Luminance0.8492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F45E #5E5FF5
analogous
#F5A95E #F5F45E #ABF55E
triadic
#F5F45E #5EF5F4 #F45EF5
tetradic
#F5F45E #5EF5A9 #5E5FF5 #F55EAB
square
#F5F45E #5EF5A9 #5E5FF5 #F55EAB
split-complementary
#F5F45E #5EABF5 #A95EF5
monochromatic
#CCCB0D #F1F024 #F5F45E #F9F898 #FCFCD1

Accessibility & contrast

On white

1.17
#F5F45E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.98
#F5F45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F45E
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F45E#FFFFFF#000000##000000
##F5F45E1.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4B
Deuteranopia (green-blind)
#FFF067
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f5f45e;
/* rgb */ color: rgb(245, 244, 94);
/* oklch */ color: oklch(94.1% 0.168 108.9);
Tailwind
colors: {
  custom: {
    50: '#fcf792',
    500: '#f5f45e',
    950: '#000000',
  },
}
SCSS
$custom: #f5f45e;
$custom-light: #fcf792;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f45e",
  "rgb": {
    "r": 245,
    "g": 244,
    "b": 94
  },
  "hsl": {
    "h": 59.603,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.9409,
    "c": 0.16799,
    "h": 108.9
  },
  "luminance": 0.84922
}

Semantic roles & 50–950 ramp

primary
#F5F45E
secondary
#2F30C8
accent
#02E501
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F45E

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

Preview Lab → · Contrast checker → · Palette generator →

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