#FFE974#FFE974

#FFE974 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.9% C 0.139 H 98.8°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#FFE974
RGBrgb(255, 233, 116)
HSLhsl(51, 100%, 73%)
HSVhsv(51, 55%, 100%)
CMYKcmyk(0%, 8.6%, 54.5%, 0%)
CIE-LABlab(92.04, -6.70, 58.73)
CIE-LCHlch(92.04, 59.11, 96.50°)
OKLaboklab(92.91% -0.0214 0.1374)
OKLCHoklch(92.91% 0.139 98.8)
XYZxyz(73.5339, 80.8017, 28.2425)
Luminance0.8080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE974 #748AFF
analogous
#FFA474 #FFE974 #CFFF74
triadic
#FFE974 #74FFE9 #E974FF
tetradic
#FFE974 #74FFA4 #748AFF #FF74CF
square
#FFE974 #74FFA4 #748AFF #FF74CF
split-complementary
#FFE974 #74CFFF #A474FF
monochromatic
#F9D100 #FFDF37 #FFE974 #FFF3B1 #FFFAE0

Accessibility & contrast

On white

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

On black

17.16
#FFE974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE974
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE974#FFFFFF#000000##000000
##FFE9741.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE469
Deuteranopia (green-blind)
#FFEC79
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe974;
/* rgb */ color: rgb(255, 233, 116);
/* oklch */ color: oklch(92.9% 0.139 98.8);
Tailwind
colors: {
  custom: {
    50: '#ffef9f',
    500: '#ffe974',
    950: '#000000',
  },
}
SCSS
$custom: #ffe974;
$custom-light: #ffef9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe974",
  "rgb": {
    "r": 255,
    "g": 233,
    "b": 116
  },
  "hsl": {
    "h": 50.504,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92913,
    "c": 0.13908,
    "h": 98.8
  },
  "luminance": 0.80799
}

Semantic roles & 50–950 ramp

primary
#FFE974
secondary
#3B54DC
accent
#24E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE974

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

Preview Lab → · Contrast checker → · Palette generator →

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