#FFE474#FFE474

#FFE474 is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.9% C 0.135 H 96.0°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#FFE474
RGBrgb(255, 228, 116)
HSLhsl(48, 100%, 73%)
HSVhsv(48, 55%, 100%)
CMYKcmyk(0%, 10.6%, 54.5%, 0%)
CIE-LABlab(90.78, -4.19, 57.27)
CIE-LCHlch(90.78, 57.42, 94.19°)
OKLaboklab(91.92% -0.0141 0.1343)
OKLCHoklch(91.92% 0.135 96)
XYZxyz(72.1385, 78.0109, 27.7774)
Luminance0.7801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE474 #748FFF
analogous
#FF9E74 #FFE474 #D5FF74
triadic
#FFE474 #74FFE4 #E474FF
tetradic
#FFE474 #74FF9E #748FFF #FF74D5
square
#FFE474 #74FF9E #748FFF #FF74D5
split-complementary
#FFE474 #74D5FF #9E74FF
monochromatic
#F9C800 #FFD837 #FFE474 #FFF0B1 #FFF9E0

Accessibility & contrast

On white

1.26
#FFE474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.60
#FFE474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE474
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE474#FFFFFF#000000##000000
##FFE4741.001.2616.6016.60
#FFFFFF1.261.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E069
Deuteranopia (green-blind)
#FEE879
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ffe474;
/* rgb */ color: rgb(255, 228, 116);
/* oklch */ color: oklch(91.9% 0.135 96.0);
Tailwind
colors: {
  custom: {
    50: '#ffec9f',
    500: '#ffe474',
    950: '#000000',
  },
}
SCSS
$custom: #ffe474;
$custom-light: #ffec9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe474",
  "rgb": {
    "r": 255,
    "g": 228,
    "b": 116
  },
  "hsl": {
    "h": 48.345,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91916,
    "c": 0.135,
    "h": 96
  },
  "luminance": 0.78008
}

Semantic roles & 50–950 ramp

primary
#FFE474
secondary
#3B5ADC
accent
#2DE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FFE474

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

Preview Lab → · Contrast checker → · Palette generator →

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