#FFE97E#FFE97E

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

Color values

HEX#FFE97E
RGBrgb(255, 233, 126)
HSLhsl(50, 100%, 75%)
HSVhsv(50, 51%, 100%)
CMYKcmyk(0%, 8.6%, 50.6%, 0%)
CIE-LABlab(92.15, -5.90, 54.23)
CIE-LCHlch(92.15, 54.55, 96.20°)
OKLaboklab(93.04% -0.018 0.1286)
OKLCHoklch(93.04% 0.13 98)
XYZxyz(74.1472, 81.0471, 31.4726)
Luminance0.8104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE97E #7E94FF
analogous
#FFA87E #FFE97E #D5FF7E
triadic
#FFE97E #7EFFE9 #E97EFF
tetradic
#FFE97E #7EFFA8 #7E94FF #FF7ED5
square
#FFE97E #7EFFA8 #7E94FF #FF7ED5
split-complementary
#FFE97E #7ED5FF #A87EFF
monochromatic
#FFD404 #FFDF41 #FFE97E #FFF3BB #FFFAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFE97E#FFFFFF#000000##000000
##FFE97E1.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)
#FBE475
Deuteranopia (green-blind)
#FFEC83
Tritanopia (blue-blind)
#FFDBD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe97e;
/* rgb */ color: rgb(255, 233, 126);
/* oklch */ color: oklch(93.0% 0.130 98.0);
Tailwind
colors: {
  custom: {
    50: '#ffefa6',
    500: '#ffe97e',
    950: '#000000',
  },
}
SCSS
$custom: #ffe97e;
$custom-light: #ffefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe97e",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 126
  },
  "hsl": {
    "h": 49.767,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.93035,
    "c": 0.12982,
    "h": 98
  },
  "luminance": 0.81044
}

Semantic roles & 50–950 ramp

primary
#FFE97E
secondary
#435EDE
accent
#27E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE97E

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

Preview Lab → · Contrast checker → · Palette generator →

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