#FFE7AB#FFE7AB

#FFE7AB is a very light, moderate orange. Relative luminance 0.814; OKLCH L 93.3% C 0.081 H 88.7°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#FFE7AB
RGBrgb(255, 231, 171)
HSLhsl(43, 100%, 84%)
HSVhsv(43, 33%, 100%)
CMYKcmyk(0%, 9.4%, 32.9%, 0%)
CIE-LABlab(92.29, -0.32, 32.24)
CIE-LCHlch(92.29, 32.24, 90.56°)
OKLaboklab(93.35% 0.0018 0.0807)
OKLCHoklch(93.35% 0.081 88.7)
XYZxyz(77.1678, 81.3546, 50.1583)
Luminance0.8135 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE7AB #ABC3FF
analogous
#FFBDAB #FFE7AB #EDFFAB
triadic
#FFE7AB #ABFFE7 #E7ABFF
tetradic
#FFE7AB #ABFFBD #ABC3FF #FFABED
square
#FFE7AB #ABFFBD #ABC3FF #FFABED
split-complementary
#FFE7AB #ABEDFF #BDABFF
monochromatic
#FFC431 #FFD66E #FFE7AB #FFF6E0 #FFF6E0

Accessibility & contrast

On white

1.22
#FFE7AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.27
#FFE7AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE7AB
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE7AB#FFFFFF#000000##000000
##FFE7AB1.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E5A7
Deuteranopia (green-blind)
#FBECAD
Tritanopia (blue-blind)
#FFDDD7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ffe7ab;
/* rgb */ color: rgb(255, 231, 171);
/* oklch */ color: oklch(93.3% 0.081 88.7);
Tailwind
colors: {
  custom: {
    50: '#ffeec4',
    500: '#ffe7ab',
    950: '#000000',
  },
}
SCSS
$custom: #ffe7ab;
$custom-light: #ffeec4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe7ab",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 171
  },
  "hsl": {
    "h": 42.857,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.9335,
    "c": 0.08072,
    "h": 88.7
  },
  "luminance": 0.81352
}

Semantic roles & 50–950 ramp

primary
#FFE7AB
secondary
#6A8DE5
accent
#42E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181612
muted
#868582

Preview Lab

Preview with #FFE7AB

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

Preview Lab → · Contrast checker → · Palette generator →

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