#FFE7AF#FFE7AF

#FFE7AF is a very light, moderate orange. Relative luminance 0.815; OKLCH L 93.4% C 0.076 H 87.5°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#FFE7AF
RGBrgb(255, 231, 175)
HSLhsl(42, 100%, 84%)
HSVhsv(42, 31%, 100%)
CMYKcmyk(0%, 9.4%, 31.4%, 0%)
CIE-LABlab(92.36, 0.17, 30.30)
CIE-LCHlch(92.36, 30.30, 89.69°)
OKLaboklab(93.43% 0.0033 0.0762)
OKLCHoklch(93.43% 0.076 87.5)
XYZxyz(77.5548, 81.5094, 52.1967)
Luminance0.8151 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE7AF #AFC7FF
analogous
#FFBFAF #FFE7AF #EFFFAF
triadic
#FFE7AF #AFFFE7 #E7AFFF
tetradic
#FFE7AF #AFFFBF #AFC7FF #FFAFEF
square
#FFE7AF #AFFFBF #AFC7FF #FFAFEF
split-complementary
#FFE7AF #AFEFFF #BFAFFF
monochromatic
#FFC235 #FFD572 #FFE7AF #FFF6E0 #FFF6E0

Accessibility & contrast

On white

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

On black

17.30
#FFE7AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE7AF
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE7AF#FFFFFF#000000##000000
##FFE7AF1.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E5AB
Deuteranopia (green-blind)
#FAECB1
Tritanopia (blue-blind)
#FFDED8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ffe7af;
/* rgb */ color: rgb(255, 231, 175);
/* oklch */ color: oklch(93.4% 0.076 87.5);
Tailwind
colors: {
  custom: {
    50: '#ffeec7',
    500: '#ffe7af',
    950: '#000000',
  },
}
SCSS
$custom: #ffe7af;
$custom-light: #ffeec7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe7af",
  "rgb": {
    "r": 255,
    "g": 231,
    "b": 175
  },
  "hsl": {
    "h": 42,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.93426,
    "c": 0.07622,
    "h": 87.5
  },
  "luminance": 0.81507
}

Semantic roles & 50–950 ramp

primary
#FFE7AF
secondary
#6D91E5
accent
#45E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181613
muted
#868582

Preview Lab

Preview with #FFE7AF

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

Preview Lab → · Contrast checker → · Palette generator →

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