#FFEB8B#FFEB8B

#FFEB8B is a very light, moderate yellow. Relative luminance 0.825; OKLCH L 93.6% C 0.119 H 97.9°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#FFEB8B
RGBrgb(255, 235, 139)
HSLhsl(50, 100%, 77%)
HSVhsv(50, 45%, 100%)
CMYKcmyk(0%, 7.8%, 45.5%, 0%)
CIE-LABlab(92.81, -5.74, 48.84)
CIE-LCHlch(92.81, 49.18, 96.70°)
OKLaboklab(93.61% -0.0162 0.1176)
OKLCHoklch(93.61% 0.119 97.9)
XYZxyz(75.6106, 82.5434, 36.3707)
Luminance0.8254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB8B #8B9FFF
analogous
#FFB18B #FFEB8B #D9FF8B
triadic
#FFEB8B #8BFFEB #EB8BFF
tetradic
#FFEB8B #8BFFB1 #8B9FFF #FF8BD9
square
#FFEB8B #8BFFB1 #8B9FFF #FF8BD9
split-complementary
#FFEB8B #8BD9FF #B18BFF
monochromatic
#FFD611 #FFE04E #FFEB8B #FFF6C8 #FFFAE0

Accessibility & contrast

On white

1.20
#FFEB8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.51
#FFEB8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB8B
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB8B#FFFFFF#000000##000000
##FFEB8B1.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE683
Deuteranopia (green-blind)
#FFEE8F
Tritanopia (blue-blind)
#FFDED4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffeb8b;
/* rgb */ color: rgb(255, 235, 139);
/* oklch */ color: oklch(93.6% 0.119 97.9);
Tailwind
colors: {
  custom: {
    50: '#fff1ae',
    500: '#ffeb8b',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb8b;
$custom-light: #fff1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb8b",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 139
  },
  "hsl": {
    "h": 49.655,
    "s": 100,
    "l": 77.255
  },
  "oklch": {
    "l": 0.93609,
    "c": 0.11871,
    "h": 97.9
  },
  "luminance": 0.82541
}

Semantic roles & 50–950 ramp

primary
#FFEB8B
secondary
#4E67E0
accent
#28E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FFEB8B

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

Preview Lab → · Contrast checker → · Palette generator →

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