#FFE7BA#FFE7BA

#FFE7BA is a very light, moderate orange. Relative luminance 0.820; OKLCH L 93.6% C 0.064 H 83.1°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#FFE7BA
RGBrgb(255, 231, 186)
HSLhsl(39, 100%, 86%)
HSVhsv(39, 27%, 100%)
CMYKcmyk(0%, 9.4%, 27.1%, 0%)
CIE-LABlab(92.56, 1.56, 24.93)
CIE-LCHlch(92.56, 24.98, 86.43°)
OKLaboklab(93.65% 0.0077 0.0634)
OKLCHoklch(93.65% 0.064 83.1)
XYZxyz(78.6795, 81.9592, 58.1200)
Luminance0.8196 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE7BA #BAD2FF
analogous
#FFC5BA #FFE7BA #F5FFBA
triadic
#FFE7BA #BAFFE7 #E7BAFF
tetradic
#FFE7BA #BAFFC5 #BAD2FF #FFBAF5
square
#FFE7BA #BAFFC5 #BAD2FF #FFBAF5
split-complementary
#FFE7BA #BAF5FF #C5BAFF
monochromatic
#FFBC40 #FFD27D #FFE7BA #FFF4E0 #FFF4E0

Accessibility & contrast

On white

1.21
#FFE7BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.39
#FFE7BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE7BA
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE7BA#FFFFFF#000000##000000
##FFE7BA1.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E6B7
Deuteranopia (green-blind)
#F9ECBB
Tritanopia (blue-blind)
#FFDFDB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffe7ba;
/* rgb */ color: rgb(255, 231, 186);
/* oklch */ color: oklch(93.6% 0.064 83.1);
Tailwind
colors: {
  custom: {
    50: '#ffeecf',
    500: '#ffe7ba',
    950: '#000000',
  },
}
SCSS
$custom: #ffe7ba;
$custom-light: #ffeecf;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe7ba",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 186
  },
  "hsl": {
    "h": 39.13,
    "s": 100,
    "l": 86.471
  },
  "oklch": {
    "l": 0.93648,
    "c": 0.06382,
    "h": 83.1
  },
  "luminance": 0.81957
}

Semantic roles & 50–950 ramp

primary
#FFE7BA
secondary
#769DE7
accent
#50E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181613
muted
#868583

Preview Lab

Preview with #FFE7BA

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

Preview Lab → · Contrast checker → · Palette generator →

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