#F5F454#F5F454

#F5F454 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.0% C 0.175 H 109.0°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#F5F454
RGBrgb(245, 244, 84)
HSLhsl(60, 89%, 65%)
HSVhsv(60, 66%, 96%)
CMYKcmyk(0%, 0.4%, 65.7%, 3.9%)
CIE-LABlab(93.78, -18.21, 73.77)
CIE-LCHlch(93.78, 75.98, 103.87°)
OKLaboklab(94.01% -0.057 0.1655)
OKLCHoklch(94.01% 0.175 109)
XYZxyz(71.6095, 84.7560, 20.9732)
Luminance0.8475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F454 #5455F5
analogous
#F5A354 #F5F454 #A6F554
triadic
#F5F454 #54F5F4 #F454F5
tetradic
#F5F454 #54F5A3 #5455F5 #F554A6
square
#F5F454 #54F5A3 #5455F5 #F554A6
split-complementary
#F5F454 #54A6F5 #A354F5
monochromatic
#C3C20B #F2F01A #F5F454 #F8F88E #FCFBC8

Accessibility & contrast

On white

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

On black

17.95
#F5F454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F454
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F454#FFFFFF#000000##000000
##F5F4541.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA3D
Deuteranopia (green-blind)
#FFF05F
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f5f454;
/* rgb */ color: rgb(245, 244, 84);
/* oklch */ color: oklch(94.0% 0.175 109.0);
Tailwind
colors: {
  custom: {
    50: '#fcf78c',
    500: '#f5f454',
    950: '#000000',
  },
}
SCSS
$custom: #f5f454;
$custom-light: #fcf78c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f454",
  "rgb": {
    "r": 245,
    "g": 244,
    "b": 84
  },
  "hsl": {
    "h": 59.627,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.94009,
    "c": 0.17503,
    "h": 109
  },
  "luminance": 0.84754
}

Semantic roles & 50–950 ramp

primary
#F5F454
secondary
#2D2EC0
accent
#01E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F454

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

Preview Lab → · Contrast checker → · Palette generator →

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