#FFF45F#FFF45F

#FFF45F is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.9% C 0.166 H 105.1°. Best body text is #000000 at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#FFF45F
RGBrgb(255, 244, 95)
HSLhsl(56, 100%, 69%)
HSVhsv(56, 63%, 100%)
CMYKcmyk(0%, 4.3%, 62.7%, 0%)
CIE-LABlab(94.65, -13.55, 70.65)
CIE-LCHlch(94.65, 71.94, 100.86°)
OKLaboklab(94.92% -0.0432 0.1603)
OKLCHoklch(94.92% 0.166 105.1)
XYZxyz(75.6590, 86.7903, 23.5911)
Luminance0.8679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF45F #5F6AFF
analogous
#FFA45F #FFF45F #BAFF5F
triadic
#FFF45F #5FFFF4 #F45FFF
tetradic
#FFF45F #5FFFA4 #5F6AFF #FF5FBA
square
#FFF45F #5FFFA4 #5F6AFF #FF5FBA
split-complementary
#FFF45F #5FBAFF #A45FFF
monochromatic
#E4D400 #FFF022 #FFF45F #FFF89C #FFFCD9

Accessibility & contrast

On white

1.14
#FFF45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.36
#FFF45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF45F
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF45F#FFFFFF#000000##000000
##FFF45F1.001.1418.3618.36
#FFFFFF1.141.0021.0021.00
#00000018.3621.001.001.00
##00000018.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC4C
Deuteranopia (green-blind)
#FFF368
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fff45f;
/* rgb */ color: rgb(255, 244, 95);
/* oklch */ color: oklch(94.9% 0.166 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff793',
    500: '#fff45f',
    950: '#000000',
  },
}
SCSS
$custom: #fff45f;
$custom-light: #fff793;
$custom-dark: #000000;
JSON
{
  "hex": "#fff45f",
  "rgb": {
    "r": 255,
    "g": 244,
    "b": 95
  },
  "hsl": {
    "h": 55.875,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.94921,
    "c": 0.16603,
    "h": 105.1
  },
  "luminance": 0.86788
}

Semantic roles & 50–950 ramp

primary
#FFF45F
secondary
#2935D9
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFF45F

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

Preview Lab → · Contrast checker → · Palette generator →

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