#FFE297#FFE297

#FFE297 is a very light, moderate orange. Relative luminance 0.779; OKLCH L 92.0% C 0.099 H 89.2°. Best body text is #000000 at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#FFE297
RGBrgb(255, 226, 151)
HSLhsl(43, 100%, 80%)
HSVhsv(43, 41%, 100%)
CMYKcmyk(0%, 11.4%, 40.8%, 0%)
CIE-LABlab(90.73, -0.02, 40.29)
CIE-LCHlch(90.73, 40.29, 90.02°)
OKLaboklab(92.02% 0.0014 0.0988)
OKLCHoklch(92.02% 0.099 89.2)
XYZxyz(74.0242, 77.8900, 40.4072)
Luminance0.7789 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE297 #97B4FF
analogous
#FFAE97 #FFE297 #E8FF97
triadic
#FFE297 #97FFE2 #E297FF
tetradic
#FFE297 #97FFAE #97B4FF #FF97E8
square
#FFE297 #97FFAE #97B4FF #FF97E8
split-complementary
#FFE297 #97E8FF #AE97FF
monochromatic
#FFC01D #FFD15A #FFE297 #FFF3D4 #FFF6E0

Accessibility & contrast

On white

1.27
#FFE297 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.58
#FFE297 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE297
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE297#FFFFFF#000000##000000
##FFE2971.001.2716.5816.58
#FFFFFF1.271.0021.0021.00
#00000016.5821.001.001.00
##00000016.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2E091
Deuteranopia (green-blind)
#F9E899
Tritanopia (blue-blind)
#FFD6CF
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ffe297;
/* rgb */ color: rgb(255, 226, 151);
/* oklch */ color: oklch(92.0% 0.099 89.2);
Tailwind
colors: {
  custom: {
    50: '#ffebb6',
    500: '#ffe297',
    950: '#000000',
  },
}
SCSS
$custom: #ffe297;
$custom-light: #ffebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe297",
  "rgb": {
    "r": 255,
    "g": 226,
    "b": 151
  },
  "hsl": {
    "h": 43.269,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.92017,
    "c": 0.09886,
    "h": 89.2
  },
  "luminance": 0.77887
}

Semantic roles & 50–950 ramp

primary
#FFE297
secondary
#597FE2
accent
#40E600
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#181611
muted
#868481

Preview Lab

Preview with #FFE297

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

Preview Lab → · Contrast checker → · Palette generator →

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