#FFF04E#FFF04E

#FFF04E is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 94.0% C 0.174 H 104.0°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#FFF04E
RGBrgb(255, 240, 78)
HSLhsl(55, 100%, 65%)
HSVhsv(55, 69%, 100%)
CMYKcmyk(0%, 5.9%, 69.4%, 0%)
CIE-LABlab(93.51, -12.50, 75.96)
CIE-LCHlch(93.51, 76.98, 99.35°)
OKLaboklab(93.98% -0.042 0.1689)
OKLCHoklch(93.98% 0.174 104)
XYZxyz(73.7783, 84.1332, 19.5593)
Luminance0.8413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF04E #4E5DFF
analogous
#FF974E #FFF04E #B6FF4E
triadic
#FFF04E #4EFFF0 #F04EFF
tetradic
#FFF04E #4EFF97 #4E5DFF #FF4EB6
square
#FFF04E #4EFF97 #4E5DFF #FF4EB6
split-complementary
#FFF04E #4EB6FF #974EFF
monochromatic
#D3C100 #FFEB11 #FFF04E #FFF58B #FFFAC8

Accessibility & contrast

On white

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

On black

17.83
#FFF04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF04E
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF04E#FFFFFF#000000##000000
##FFF04E1.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE834
Deuteranopia (green-blind)
#FFF059
Tritanopia (blue-blind)
#FFE0D0
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fff04e;
/* rgb */ color: rgb(255, 240, 78);
/* oklch */ color: oklch(94.0% 0.174 104.0);
Tailwind
colors: {
  custom: {
    50: '#fff489',
    500: '#fff04e',
    950: '#000000',
  },
}
SCSS
$custom: #fff04e;
$custom-light: #fff489;
$custom-dark: #000000;
JSON
{
  "hex": "#fff04e",
  "rgb": {
    "r": 255,
    "g": 240,
    "b": 78
  },
  "hsl": {
    "h": 54.915,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.93975,
    "c": 0.174,
    "h": 104
  },
  "luminance": 0.8413
}

Semantic roles & 50–950 ramp

primary
#FFF04E
secondary
#2432CD
accent
#13E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FFF04E

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

Preview Lab → · Contrast checker → · Palette generator →

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