#FFE56B#FFE56B

#FFE56B is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 92.0% C 0.144 H 97.4°. Best body text is #000000 at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#FFE56B
RGBrgb(255, 229, 107)
HSLhsl(49, 100%, 71%)
HSVhsv(49, 58%, 100%)
CMYKcmyk(0%, 10.2%, 58%, 0%)
CIE-LABlab(90.95, -5.36, 61.52)
CIE-LCHlch(90.95, 61.76, 94.98°)
OKLaboklab(92.01% -0.0185 0.1425)
OKLCHoklch(92.01% 0.144 97.4)
XYZxyz(71.9160, 78.3633, 25.2446)
Luminance0.7836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE56B #6B85FF
analogous
#FF9B6B #FFE56B #CFFF6B
triadic
#FFE56B #6BFFE5 #E56BFF
tetradic
#FFE56B #6BFF9B #6B85FF #FF6BCF
square
#FFE56B #6BFF9B #6B85FF #FF6BCF
split-complementary
#FFE56B #6BCFFF #9B6BFF
monochromatic
#F0C600 #FFDA2E #FFE56B #FFF0A8 #FFFAE0

Accessibility & contrast

On white

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

On black

16.67
#FFE56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE56B
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE56B#FFFFFF#000000##000000
##FFE56B1.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E05E
Deuteranopia (green-blind)
#FFE971
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ffe56b;
/* rgb */ color: rgb(255, 229, 107);
/* oklch */ color: oklch(92.0% 0.144 97.4);
Tailwind
colors: {
  custom: {
    50: '#ffec99',
    500: '#ffe56b',
    950: '#000000',
  },
}
SCSS
$custom: #ffe56b;
$custom-light: #ffec99;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe56b",
  "rgb": {
    "r": 255,
    "g": 229,
    "b": 107
  },
  "hsl": {
    "h": 49.459,
    "s": 100,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92014,
    "c": 0.14365,
    "h": 97.4
  },
  "luminance": 0.7836
}

Semantic roles & 50–950 ramp

primary
#FFE56B
secondary
#3351DB
accent
#28E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#19160E
muted
#87847F

Preview Lab

Preview with #FFE56B

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

Preview Lab → · Contrast checker → · Palette generator →

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