#FFE97C#FFE97C

#FFE97C is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 93.0% C 0.132 H 98.2°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#FFE97C
RGBrgb(255, 233, 124)
HSLhsl(50, 100%, 74%)
HSVhsv(50, 51%, 100%)
CMYKcmyk(0%, 8.6%, 51.4%, 0%)
CIE-LABlab(92.13, -6.06, 55.14)
CIE-LCHlch(92.13, 55.48, 96.27°)
OKLaboklab(93.01% -0.0187 0.1304)
OKLCHoklch(93.01% 0.132 98.2)
XYZxyz(74.0194, 80.9960, 30.7997)
Luminance0.8099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE97C #7C92FF
analogous
#FFA87C #FFE97C #D3FF7C
triadic
#FFE97C #7CFFE9 #E97CFF
tetradic
#FFE97C #7CFFA8 #7C92FF #FF7CD3
square
#FFE97C #7CFFA8 #7C92FF #FF7CD3
split-complementary
#FFE97C #7CD3FF #A87CFF
monochromatic
#FFD402 #FFDF3F #FFE97C #FFF3B9 #FFFAE0

Accessibility & contrast

On white

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

On black

17.20
#FFE97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE97C
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE97C#FFFFFF#000000##000000
##FFE97C1.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffe97c;
/* rgb */ color: rgb(255, 233, 124);
/* oklch */ color: oklch(93.0% 0.132 98.2);
Tailwind
colors: {
  custom: {
    50: '#ffefa4',
    500: '#ffe97c',
    950: '#000000',
  },
}
SCSS
$custom: #ffe97c;
$custom-light: #ffefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe97c",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 124
  },
  "hsl": {
    "h": 49.924,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.93009,
    "c": 0.13172,
    "h": 98.2
  },
  "luminance": 0.80993
}

Semantic roles & 50–950 ramp

primary
#FFE97C
secondary
#425CDE
accent
#27E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE97C

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

Preview Lab → · Contrast checker → · Palette generator →

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