#FFEBA2#FFEBA2

#FFEBA2 is a very light, moderate yellow. Relative luminance 0.833; OKLCH L 94.0% C 0.094 H 94.6°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#FFEBA2
RGBrgb(255, 235, 162)
HSLhsl(47, 100%, 82%)
HSVhsv(47, 36%, 100%)
CMYKcmyk(0%, 7.8%, 36.5%, 0%)
CIE-LABlab(93.14, -3.37, 37.92)
CIE-LCHlch(93.14, 38.07, 95.09°)
OKLaboklab(93.97% -0.0076 0.0938)
OKLCHoklch(93.97% 0.094 94.6)
XYZxyz(77.4713, 83.2877, 46.1706)
Luminance0.8328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEBA2 #A2B6FF
analogous
#FFBDA2 #FFEBA2 #E5FFA2
triadic
#FFEBA2 #A2FFEB #EBA2FF
tetradic
#FFEBA2 #A2FFBD #A2B6FF #FFA2E5
square
#FFEBA2 #A2FFBD #A2B6FF #FFA2E5
split-complementary
#FFEBA2 #A2E5FF #BDA2FF
monochromatic
#FFD128 #FFDE65 #FFEBA2 #FFF8DF #FFF8E0

Accessibility & contrast

On white

1.19
#FFEBA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#FFEBA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEBA2
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEBA2#FFFFFF#000000##000000
##FFEBA21.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE89D
Deuteranopia (green-blind)
#FFEEA5
Tritanopia (blue-blind)
#FFE0D8
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ffeba2;
/* rgb */ color: rgb(255, 235, 162);
/* oklch */ color: oklch(94.0% 0.094 94.6);
Tailwind
colors: {
  custom: {
    50: '#fff1be',
    500: '#ffeba2',
    950: '#000000',
  },
}
SCSS
$custom: #ffeba2;
$custom-light: #fff1be;
$custom-dark: #000000;
JSON
{
  "hex": "#ffeba2",
  "rgb": {
    "r": 255,
    "g": 235,
    "b": 162
  },
  "hsl": {
    "h": 47.097,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.93973,
    "c": 0.09409,
    "h": 94.6
  },
  "luminance": 0.83285
}

Semantic roles & 50–950 ramp

primary
#FFEBA2
secondary
#627EE3
accent
#31E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181612
muted
#868582

Preview Lab

Preview with #FFEBA2

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

Preview Lab → · Contrast checker → · Palette generator →

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