#FFEB8E#FFEB8E

#FFEB8E is a very light, moderate yellow. Relative luminance 0.826; OKLCH L 93.7% C 0.116 H 97.5°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#FFEB8E
RGBrgb(255, 235, 142)
HSLhsl(49, 100%, 78%)
HSVhsv(49, 44%, 100%)
CMYKcmyk(0%, 7.8%, 44.3%, 0%)
CIE-LABlab(92.85, -5.45, 47.44)
CIE-LCHlch(92.85, 47.75, 96.56°)
OKLaboklab(93.65% -0.0151 0.1146)
OKLCHoklch(93.65% 0.116 97.5)
XYZxyz(75.8328, 82.6323, 37.5410)
Luminance0.8263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB8E #8EA2FF
analogous
#FFB38E #FFEB8E #DAFF8E
triadic
#FFEB8E #8EFFEB #EB8EFF
tetradic
#FFEB8E #8EFFB3 #8EA2FF #FF8EDA
square
#FFEB8E #8EFFB3 #8EA2FF #FF8EDA
split-complementary
#FFEB8E #8EDAFF #B38EFF
monochromatic
#FFD514 #FFE051 #FFEB8E #FFF6CB #FFFAE0

Accessibility & contrast

On white

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

On black

17.53
#FFEB8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB8E
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB8E#FFFFFF#000000##000000
##FFEB8E1.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE687
Deuteranopia (green-blind)
#FFEE92
Tritanopia (blue-blind)
#FFDFD4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffeb8e;
/* rgb */ color: rgb(255, 235, 142);
/* oklch */ color: oklch(93.7% 0.116 97.5);
Tailwind
colors: {
  custom: {
    50: '#fff1b0',
    500: '#ffeb8e',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb8e;
$custom-light: #fff1b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb8e",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 142
  },
  "hsl": {
    "h": 49.381,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.93653,
    "c": 0.11563,
    "h": 97.5
  },
  "luminance": 0.8263
}

Semantic roles & 50–950 ramp

primary
#FFEB8E
secondary
#516AE0
accent
#29E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181611
muted
#868581

Preview Lab

Preview with #FFEB8E

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

Preview Lab → · Contrast checker → · Palette generator →

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