#FFE97A#FFE97A

#FFE97A is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 93.0% C 0.134 H 98.3°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#FFE97A
RGBrgb(255, 233, 122)
HSLhsl(50, 100%, 74%)
HSVhsv(50, 52%, 100%)
CMYKcmyk(0%, 8.6%, 52.2%, 0%)
CIE-LABlab(92.11, -6.23, 56.05)
CIE-LCHlch(92.11, 56.39, 96.34°)
OKLaboklab(92.98% -0.0194 0.1322)
OKLCHoklch(92.98% 0.134 98.3)
XYZxyz(73.8942, 80.9459, 30.1403)
Luminance0.8094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE97A #7A90FF
analogous
#FFA77A #FFE97A #D3FF7A
triadic
#FFE97A #7AFFE9 #E97AFF
tetradic
#FFE97A #7AFFA7 #7A90FF #FF7AD3
square
#FFE97A #7AFFA7 #7A90FF #FF7AD3
split-complementary
#FFE97A #7AD3FF #A77AFF
monochromatic
#FFD400 #FFDF3D #FFE97A #FFF3B7 #FFFAE0

Accessibility & contrast

On white

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

On black

17.19
#FFE97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE97A
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE97A#FFFFFF#000000##000000
##FFE97A1.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE470
Deuteranopia (green-blind)
#FFEC7F
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe97a;
/* rgb */ color: rgb(255, 233, 122);
/* oklch */ color: oklch(93.0% 0.134 98.3);
Tailwind
colors: {
  custom: {
    50: '#ffefa3',
    500: '#ffe97a',
    950: '#000000',
  },
}
SCSS
$custom: #ffe97a;
$custom-light: #ffefa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe97a",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 50.075,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92984,
    "c": 0.1336,
    "h": 98.3
  },
  "luminance": 0.80943
}

Semantic roles & 50–950 ramp

primary
#FFE97A
secondary
#405ADD
accent
#26E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE97A

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

Preview Lab → · Contrast checker → · Palette generator →

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