#FFEB8A#FFEB8A

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

Color values

HEX#FFEB8A
RGBrgb(255, 235, 138)
HSLhsl(50, 100%, 77%)
HSVhsv(50, 46%, 100%)
CMYKcmyk(0%, 7.8%, 45.9%, 0%)
CIE-LABlab(92.80, -5.83, 49.31)
CIE-LCHlch(92.80, 49.65, 96.75°)
OKLaboklab(93.6% -0.0166 0.1186)
OKLCHoklch(93.6% 0.12 98)
XYZxyz(75.5378, 82.5143, 35.9877)
Luminance0.8251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEB8A #8A9EFF
analogous
#FFB18A #FFEB8A #D8FF8A
triadic
#FFEB8A #8AFFEB #EB8AFF
tetradic
#FFEB8A #8AFFB1 #8A9EFF #FF8AD8
square
#FFEB8A #8AFFB1 #8A9EFF #FF8AD8
split-complementary
#FFEB8A #8AD8FF #B18AFF
monochromatic
#FFD610 #FFE14D #FFEB8A #FFF5C7 #FFFAE0

Accessibility & contrast

On white

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

On black

17.50
#FFEB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEB8A
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEB8A#FFFFFF#000000##000000
##FFEB8A1.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffeb8a;
/* rgb */ color: rgb(255, 235, 138);
/* oklch */ color: oklch(93.6% 0.120 98.0);
Tailwind
colors: {
  custom: {
    50: '#fff1ae',
    500: '#ffeb8a',
    950: '#000000',
  },
}
SCSS
$custom: #ffeb8a;
$custom-light: #fff1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeb8a",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 138
  },
  "hsl": {
    "h": 49.744,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.93595,
    "c": 0.11973,
    "h": 98
  },
  "luminance": 0.82512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFEB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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