#FFF45C#FFF45C

#FFF45C is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.9% C 0.168 H 105.2°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#FFF45C
RGBrgb(255, 244, 92)
HSLhsl(56, 100%, 68%)
HSVhsv(56, 64%, 100%)
CMYKcmyk(0%, 4.3%, 63.9%, 0%)
CIE-LABlab(94.63, -13.72, 71.82)
CIE-LCHlch(94.63, 73.12, 100.82°)
OKLaboklab(94.9% -0.044 0.1623)
OKLCHoklch(94.9% 0.168 105.2)
XYZxyz(75.5253, 86.7368, 22.8867)
Luminance0.8673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF45C #5C67FF
analogous
#FFA25C #FFF45C #B8FF5C
triadic
#FFF45C #5CFFF4 #F45CFF
tetradic
#FFF45C #5CFFA2 #5C67FF #FF5CB8
square
#FFF45C #5CFFA2 #5C67FF #FF5CB8
split-complementary
#FFF45C #5CB8FF #A25CFF
monochromatic
#E1D100 #FFF01F #FFF45C #FFF899 #FFFCD6

Accessibility & contrast

On white

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

On black

18.35
#FFF45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF45C
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF45C#FFFFFF#000000##000000
##FFF45C1.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC48
Deuteranopia (green-blind)
#FFF365
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fff45c;
/* rgb */ color: rgb(255, 244, 92);
/* oklch */ color: oklch(94.9% 0.168 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff791',
    500: '#fff45c',
    950: '#000000',
  },
}
SCSS
$custom: #fff45c;
$custom-light: #fff791;
$custom-dark: #000000;
JSON
{
  "hex": "#fff45c",
  "rgb": {
    "r": 255,
    "g": 244,
    "b": 92
  },
  "hsl": {
    "h": 55.951,
    "s": 100,
    "l": 68.039
  },
  "oklch": {
    "l": 0.94896,
    "c": 0.1682,
    "h": 105.2
  },
  "luminance": 0.86734
}

Semantic roles & 50–950 ramp

primary
#FFF45C
secondary
#2632D9
accent
#0FE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFF45C

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

Preview Lab → · Contrast checker → · Palette generator →

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