#FFE7AC#FFE7AC

#FFE7AC is a very light, moderate orange. Relative luminance 0.814; OKLCH L 93.4% C 0.080 H 88.4°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#FFE7AC
RGBrgb(255, 231, 172)
HSLhsl(43, 100%, 84%)
HSVhsv(43, 33%, 100%)
CMYKcmyk(0%, 9.4%, 32.5%, 0%)
CIE-LABlab(92.31, -0.20, 31.76)
CIE-LCHlch(92.31, 31.76, 90.36°)
OKLaboklab(93.37% 0.0022 0.0796)
OKLCHoklch(93.37% 0.08 88.4)
XYZxyz(77.2635, 81.3928, 50.6621)
Luminance0.8139 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE7AC #ACC4FF
analogous
#FFBDAC #FFE7AC #EDFFAC
triadic
#FFE7AC #ACFFE7 #E7ACFF
tetradic
#FFE7AC #ACFFBD #ACC4FF #FFACED
square
#FFE7AC #ACFFBD #ACC4FF #FFACED
split-complementary
#FFE7AC #ACEDFF #BDACFF
monochromatic
#FFC432 #FFD56F #FFE7AC #FFF6E0 #FFF6E0

Accessibility & contrast

On white

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

On black

17.28
#FFE7AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE7AC
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE7AC#FFFFFF#000000##000000
##FFE7AC1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffe7ac;
/* rgb */ color: rgb(255, 231, 172);
/* oklch */ color: oklch(93.4% 0.080 88.4);
Tailwind
colors: {
  custom: {
    50: '#ffeec5',
    500: '#ffe7ac',
    950: '#000000',
  },
}
SCSS
$custom: #ffe7ac;
$custom-light: #ffeec5;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe7ac",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 172
  },
  "hsl": {
    "h": 42.651,
    "s": 100,
    "l": 83.725
  },
  "oklch": {
    "l": 0.93369,
    "c": 0.07959,
    "h": 88.4
  },
  "luminance": 0.8139
}

Semantic roles & 50–950 ramp

primary
#FFE7AC
secondary
#6A8EE5
accent
#42E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181613
muted
#868582

Preview Lab

Preview with #FFE7AC

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

Preview Lab → · Contrast checker → · Palette generator →

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