#FFE97D#FFE97D

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

Color values

HEX#FFE97D
RGBrgb(255, 233, 125)
HSLhsl(50, 100%, 75%)
HSVhsv(50, 51%, 100%)
CMYKcmyk(0%, 8.6%, 51%, 0%)
CIE-LABlab(92.14, -5.98, 54.69)
CIE-LCHlch(92.14, 55.01, 96.24°)
OKLaboklab(93.02% -0.0183 0.1295)
OKLCHoklch(93.02% 0.131 98.1)
XYZxyz(74.0830, 81.0214, 31.1344)
Luminance0.8102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE97D #7D93FF
analogous
#FFA87D #FFE97D #D4FF7D
triadic
#FFE97D #7DFFE9 #E97DFF
tetradic
#FFE97D #7DFFA8 #7D93FF #FF7DD4
square
#FFE97D #7DFFA8 #7D93FF #FF7DD4
split-complementary
#FFE97D #7DD4FF #A87DFF
monochromatic
#FFD403 #FFDF40 #FFE97D #FFF3BA #FFFAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFE97D#FFFFFF#000000##000000
##FFE97D1.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)
#FBE473
Deuteranopia (green-blind)
#FFEC82
Tritanopia (blue-blind)
#FFDBD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe97d;
/* rgb */ color: rgb(255, 233, 125);
/* oklch */ color: oklch(93.0% 0.131 98.1);
Tailwind
colors: {
  custom: {
    50: '#ffefa5',
    500: '#ffe97d',
    950: '#000000',
  },
}
SCSS
$custom: #ffe97d;
$custom-light: #ffefa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe97d",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 125
  },
  "hsl": {
    "h": 49.846,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.93022,
    "c": 0.13077,
    "h": 98.1
  },
  "luminance": 0.81018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFE97D

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

Preview Lab → · Contrast checker → · Palette generator →

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