#FFF56E#FFF56E

#FFF56E is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.3% C 0.155 H 105.0°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#FFF56E
RGBrgb(255, 245, 110)
HSLhsl(56, 100%, 72%)
HSVhsv(56, 57%, 100%)
CMYKcmyk(0%, 3.9%, 56.9%, 0%)
CIE-LABlab(95.03, -13.06, 64.81)
CIE-LCHlch(95.03, 66.11, 101.40°)
OKLaboklab(95.27% -0.0402 0.1498)
OKLCHoklch(95.27% 0.155 105)
XYZxyz(76.7094, 87.6931, 27.6346)
Luminance0.8769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF56E #6E78FF
analogous
#FFAD6E #FFF56E #C1FF6E
triadic
#FFF56E #6EFFF5 #F56EFF
tetradic
#FFF56E #6EFFAD #6E78FF #FF6EC1
square
#FFF56E #6EFFAD #6E78FF #FF6EC1
split-complementary
#FFF56E #6EC1FF #AD6EFF
monochromatic
#F3E200 #FFF131 #FFF56E #FFF9AB #FFFDE0

Accessibility & contrast

On white

1.13
#FFF56E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.54
#FFF56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF56E
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF56E#FFFFFF#000000##000000
##FFF56E1.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED60
Deuteranopia (green-blind)
#FFF475
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fff56e;
/* rgb */ color: rgb(255, 245, 110);
/* oklch */ color: oklch(95.3% 0.155 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff89c',
    500: '#fff56e',
    950: '#000000',
  },
}
SCSS
$custom: #fff56e;
$custom-light: #fff89c;
$custom-dark: #000000;
JSON
{
  "hex": "#fff56e",
  "rgb": {
    "r": 255,
    "g": 245,
    "b": 110
  },
  "hsl": {
    "h": 55.862,
    "s": 100,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95266,
    "c": 0.15514,
    "h": 105
  },
  "luminance": 0.87691
}

Semantic roles & 50–950 ramp

primary
#FFF56E
secondary
#3641DB
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FFF56E

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

Preview Lab → · Contrast checker → · Palette generator →

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