#FFE97F#FFE97F

#FFE97F is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 93.0% C 0.129 H 97.9°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#FFE97F
RGBrgb(255, 233, 127)
HSLhsl(50, 100%, 75%)
HSVhsv(50, 50%, 100%)
CMYKcmyk(0%, 8.6%, 50.2%, 0%)
CIE-LABlab(92.16, -5.81, 53.78)
CIE-LCHlch(92.16, 54.09, 96.17°)
OKLaboklab(93.05% -0.0176 0.1277)
OKLCHoklch(93.05% 0.129 97.9)
XYZxyz(74.2120, 81.0730, 31.8141)
Luminance0.8107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE97F #7F95FF
analogous
#FFA97F #FFE97F #D5FF7F
triadic
#FFE97F #7FFFE9 #E97FFF
tetradic
#FFE97F #7FFFA9 #7F95FF #FF7FD5
square
#FFE97F #7FFFA9 #7F95FF #FF7FD5
split-complementary
#FFE97F #7FD5FF #A97FFF
monochromatic
#FFD405 #FFDE42 #FFE97F #FFF4BC #FFFAE0

Accessibility & contrast

On white

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

On black

17.21
#FFE97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE97F
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE97F#FFFFFF#000000##000000
##FFE97F1.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE476
Deuteranopia (green-blind)
#FFEC83
Tritanopia (blue-blind)
#FFDBD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe97f;
/* rgb */ color: rgb(255, 233, 127);
/* oklch */ color: oklch(93.0% 0.129 97.9);
Tailwind
colors: {
  custom: {
    50: '#ffefa6',
    500: '#ffe97f',
    950: '#000000',
  },
}
SCSS
$custom: #ffe97f;
$custom-light: #ffefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe97f",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 49.688,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.93047,
    "c": 0.12886,
    "h": 97.9
  },
  "luminance": 0.8107
}

Semantic roles & 50–950 ramp

primary
#FFE97F
secondary
#445FDE
accent
#27E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE97F

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

Preview Lab → · Contrast checker → · Palette generator →

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