#FFEB5B#FFEB5B

#FFEB5B is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 93.1% C 0.161 H 101.4°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#FFEB5B
RGBrgb(255, 235, 91)
HSLhsl(53, 100%, 68%)
HSVhsv(53, 64%, 100%)
CMYKcmyk(0%, 7.8%, 64.3%, 0%)
CIE-LABlab(92.32, -9.36, 69.81)
CIE-LCHlch(92.32, 70.43, 97.64°)
OKLaboklab(93.06% -0.0317 0.1579)
OKLCHoklch(93.06% 0.161 101.4)
XYZxyz(72.8397, 81.4350, 21.7772)
Luminance0.8143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB5B #5B6FFF
analogous
#FF995B #FFEB5B #C1FF5B
triadic
#FFEB5B #5BFFEB #EB5BFF
tetradic
#FFEB5B #5BFF99 #5B6FFF #FF5BC1
square
#FFEB5B #5BFF99 #5B6FFF #FF5BC1
split-complementary
#FFEB5B #5BC1FF #995BFF
monochromatic
#E0C400 #FFE41E #FFEB5B #FFF298 #FFFAD5

Accessibility & contrast

On white

1.21
#FFEB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#FFEB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB5B
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB5B#FFFFFF#000000##000000
##FFEB5B1.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffeb5b;
/* rgb */ color: rgb(255, 235, 91);
/* oklch */ color: oklch(93.1% 0.161 101.4);
Tailwind
colors: {
  custom: {
    50: '#fff190',
    500: '#ffeb5b',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb5b;
$custom-light: #fff190;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb5b",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 91
  },
  "hsl": {
    "h": 52.683,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.93064,
    "c": 0.16108,
    "h": 101.4
  },
  "luminance": 0.81432
}

Semantic roles & 50–950 ramp

primary
#FFEB5B
secondary
#263CD8
accent
#1CE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19160D
muted
#87857F

Preview Lab

Preview with #FFEB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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