#FFE97B#FFE97B

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

Color values

HEX#FFE97B
RGBrgb(255, 233, 123)
HSLhsl(50, 100%, 74%)
HSVhsv(50, 52%, 100%)
CMYKcmyk(0%, 8.6%, 51.8%, 0%)
CIE-LABlab(92.12, -6.14, 55.60)
CIE-LCHlch(92.12, 55.93, 96.31°)
OKLaboklab(93% -0.019 0.1313)
OKLCHoklch(93% 0.133 98.2)
XYZxyz(73.9565, 80.9708, 30.4683)
Luminance0.8097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE97B #7B91FF
analogous
#FFA77B #FFE97B #D3FF7B
triadic
#FFE97B #7BFFE9 #E97BFF
tetradic
#FFE97B #7BFFA7 #7B91FF #FF7BD3
square
#FFE97B #7BFFA7 #7B91FF #FF7BD3
split-complementary
#FFE97B #7BD3FF #A77BFF
monochromatic
#FFD501 #FFDF3E #FFE97B #FFF3B8 #FFFAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFE97B#FFFFFF#000000##000000
##FFE97B1.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)
#FCE471
Deuteranopia (green-blind)
#FFEC80
Tritanopia (blue-blind)
#FFDBD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe97b;
/* rgb */ color: rgb(255, 233, 123);
/* oklch */ color: oklch(93.0% 0.133 98.2);
Tailwind
colors: {
  custom: {
    50: '#ffefa4',
    500: '#ffe97b',
    950: '#000000',
  },
}
SCSS
$custom: #ffe97b;
$custom-light: #ffefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe97b",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 123
  },
  "hsl": {
    "h": 50,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.92997,
    "c": 0.13266,
    "h": 98.2
  },
  "luminance": 0.80968
}

Semantic roles & 50–950 ramp

primary
#FFE97B
secondary
#415BDD
accent
#26E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE97B

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

Preview Lab → · Contrast checker → · Palette generator →

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