#FFE56F#FFE56F

#FFE56F is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 92.1% C 0.140 H 97.1°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#FFE56F
RGBrgb(255, 229, 111)
HSLhsl(49, 100%, 72%)
HSVhsv(49, 56%, 100%)
CMYKcmyk(0%, 10.2%, 56.5%, 0%)
CIE-LABlab(90.98, -5.07, 59.78)
CIE-LCHlch(90.98, 59.99, 94.85°)
OKLaboklab(92.06% -0.0172 0.1392)
OKLCHoklch(92.06% 0.14 97.1)
XYZxyz(72.1313, 78.4495, 26.3786)
Luminance0.7845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE56F #6F89FF
analogous
#FF9D6F #FFE56F #D1FF6F
triadic
#FFE56F #6FFFE5 #E56FFF
tetradic
#FFE56F #6FFF9D #6F89FF #FF6FD1
square
#FFE56F #6FFF9D #6F89FF #FF6FD1
split-complementary
#FFE56F #6FD1FF #9D6FFF
monochromatic
#F4C800 #FFDA32 #FFE56F #FFF0AC #FFF9E0

Accessibility & contrast

On white

1.26
#FFE56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.69
#FFE56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE56F
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE56F#FFFFFF#000000##000000
##FFE56F1.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E063
Deuteranopia (green-blind)
#FFE974
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ffe56f;
/* rgb */ color: rgb(255, 229, 111);
/* oklch */ color: oklch(92.1% 0.140 97.1);
Tailwind
colors: {
  custom: {
    50: '#ffec9c',
    500: '#ffe56f',
    950: '#000000',
  },
}
SCSS
$custom: #ffe56f;
$custom-light: #ffec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe56f",
  "rgb": {
    "r": 255,
    "g": 229,
    "b": 111
  },
  "hsl": {
    "h": 49.167,
    "s": 100,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92058,
    "c": 0.14022,
    "h": 97.1
  },
  "luminance": 0.78446
}

Semantic roles & 50–950 ramp

primary
#FFE56F
secondary
#3754DC
accent
#29E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FFE56F

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

Preview Lab → · Contrast checker → · Palette generator →

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