#FFEB8F#FFEB8F

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

Color values

HEX#FFEB8F
RGBrgb(255, 235, 143)
HSLhsl(49, 100%, 78%)
HSVhsv(49, 44%, 100%)
CMYKcmyk(0%, 7.8%, 43.9%, 0%)
CIE-LABlab(92.87, -5.36, 46.97)
CIE-LCHlch(92.87, 47.27, 96.51°)
OKLaboklab(93.67% -0.0148 0.1136)
OKLCHoklch(93.67% 0.115 97.4)
XYZxyz(75.9082, 82.6625, 37.9382)
Luminance0.8266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB8F #8FA3FF
analogous
#FFB38F #FFEB8F #DBFF8F
triadic
#FFEB8F #8FFFEB #EB8FFF
tetradic
#FFEB8F #8FFFB3 #8FA3FF #FF8FDB
square
#FFEB8F #8FFFB3 #8FA3FF #FF8FDB
split-complementary
#FFEB8F #8FDBFF #B38FFF
monochromatic
#FFD515 #FFE052 #FFEB8F #FFF6CC #FFFAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFEB8F#FFFFFF#000000##000000
##FFEB8F1.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)
#FCE688
Deuteranopia (green-blind)
#FFEE93
Tritanopia (blue-blind)
#FFDFD5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffeb8f;
/* rgb */ color: rgb(255, 235, 143);
/* oklch */ color: oklch(93.7% 0.115 97.4);
Tailwind
colors: {
  custom: {
    50: '#fff1b1',
    500: '#ffeb8f',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb8f;
$custom-light: #fff1b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb8f",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 143
  },
  "hsl": {
    "h": 49.286,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.93668,
    "c": 0.11459,
    "h": 97.4
  },
  "luminance": 0.8266
}

Semantic roles & 50–950 ramp

primary
#FFEB8F
secondary
#526BE0
accent
#29E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFEB8F

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

Preview Lab → · Contrast checker → · Palette generator →

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