#FFE397#FFE397

#FFE397 is a very light, moderate orange. Relative luminance 0.784; OKLCH L 92.2% C 0.100 H 90.1°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#FFE397
RGBrgb(255, 227, 151)
HSLhsl(44, 100%, 80%)
HSVhsv(44, 41%, 100%)
CMYKcmyk(0%, 11%, 40.8%, 0%)
CIE-LABlab(90.98, -0.52, 40.61)
CIE-LCHlch(90.98, 40.62, 90.74°)
OKLaboklab(92.21% -0.0001 0.0996)
OKLCHoklch(92.21% 0.1 90.1)
XYZxyz(74.2969, 78.4354, 40.4981)
Luminance0.7843 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE397 #97B3FF
analogous
#FFAF97 #FFE397 #E7FF97
triadic
#FFE397 #97FFE3 #E397FF
tetradic
#FFE397 #97FFAF #97B3FF #FF97E7
square
#FFE397 #97FFAF #97B3FF #FF97E7
split-complementary
#FFE397 #97E7FF #AF97FF
monochromatic
#FFC21D #FFD35A #FFE397 #FFF3D4 #FFF7E0

Accessibility & contrast

On white

1.26
#FFE397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.69
#FFE397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE397
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE397#FFFFFF#000000##000000
##FFE3971.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E191
Deuteranopia (green-blind)
#FAE99A
Tritanopia (blue-blind)
#FFD7D0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ffe397;
/* rgb */ color: rgb(255, 227, 151);
/* oklch */ color: oklch(92.2% 0.100 90.1);
Tailwind
colors: {
  custom: {
    50: '#ffebb6',
    500: '#ffe397',
    950: '#000000',
  },
}
SCSS
$custom: #ffe397;
$custom-light: #ffebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe397",
  "rgb": {
    "r": 255,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 43.846,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.92213,
    "c": 0.09959,
    "h": 90.1
  },
  "luminance": 0.78433
}

Semantic roles & 50–950 ramp

primary
#FFE397
secondary
#597DE2
accent
#3EE600
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#181611
muted
#868481

Preview Lab

Preview with #FFE397

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

Preview Lab → · Contrast checker → · Palette generator →

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