#FFEB56#FFEB56

#FFEB56 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 93.0% C 0.165 H 101.6°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#FFEB56
RGBrgb(255, 235, 86)
HSLhsl(53, 100%, 67%)
HSVhsv(53, 66%, 100%)
CMYKcmyk(0%, 7.8%, 66.3%, 0%)
CIE-LABlab(92.29, -9.64, 71.74)
CIE-LCHlch(92.29, 72.39, 97.65°)
OKLaboklab(93.02% -0.0331 0.1613)
OKLCHoklch(93.02% 0.165 101.6)
XYZxyz(72.6311, 81.3516, 20.6789)
Luminance0.8135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB56 #566AFF
analogous
#FF9656 #FFEB56 #BFFF56
triadic
#FFEB56 #56FFEB #EB56FF
tetradic
#FFEB56 #56FF96 #566AFF #FF56BF
square
#FFEB56 #56FF96 #566AFF #FF56BF
split-complementary
#FFEB56 #56BFFF #9656FF
monochromatic
#DBC100 #FFE419 #FFEB56 #FFF293 #FFF9D0

Accessibility & contrast

On white

1.22
#FFEB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.27
#FFEB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB56
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB56#FFFFFF#000000##000000
##FFEB561.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE442
Deuteranopia (green-blind)
#FFED5F
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ffeb56;
/* rgb */ color: rgb(255, 235, 86);
/* oklch */ color: oklch(93.0% 0.165 101.6);
Tailwind
colors: {
  custom: {
    50: '#fff18d',
    500: '#ffeb56',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb56;
$custom-light: #fff18d;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb56",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 86
  },
  "hsl": {
    "h": 52.899,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.93023,
    "c": 0.16461,
    "h": 101.6
  },
  "luminance": 0.81349
}

Semantic roles & 50–950 ramp

primary
#FFEB56
secondary
#253AD4
accent
#1BE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19160D
muted
#87857F

Preview Lab

Preview with #FFEB56

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

Preview Lab → · Contrast checker → · Palette generator →

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