#FFF774#FFF774

#FFF774 is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.7% C 0.152 H 105.7°. Best body text is #000000 at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#FFF774
RGBrgb(255, 247, 116)
HSLhsl(57, 100%, 73%)
HSVhsv(57, 55%, 100%)
CMYKcmyk(0%, 3.1%, 54.5%, 0%)
CIE-LABlab(95.60, -13.60, 62.83)
CIE-LCHlch(95.60, 64.28, 102.22°)
OKLaboklab(95.74% -0.0412 0.1463)
OKLCHoklch(95.74% 0.152 105.7)
XYZxyz(77.6555, 89.0449, 29.6164)
Luminance0.8904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF774 #747CFF
analogous
#FFB274 #FFF774 #C1FF74
triadic
#FFF774 #74FFF7 #F774FF
tetradic
#FFF774 #74FFB2 #747CFF #FF74C1
square
#FFF774 #74FFB2 #747CFF #FF74C1
split-complementary
#FFF774 #74C1FF #B274FF
monochromatic
#F9EA00 #FFF337 #FFF774 #FFFBB1 #FFFDE0

Accessibility & contrast

On white

1.12
#FFF774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.81
#FFF774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF774
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF774#FFFFFF#000000##000000
##FFF7741.001.1218.8118.81
#FFFFFF1.121.0021.0021.00
#00000018.8121.001.001.00
##00000018.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF67
Deuteranopia (green-blind)
#FFF57B
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fff774;
/* rgb */ color: rgb(255, 247, 116);
/* oklch */ color: oklch(95.7% 0.152 105.7);
Tailwind
colors: {
  custom: {
    50: '#fff9a0',
    500: '#fff774',
    950: '#000000',
  },
}
SCSS
$custom: #fff774;
$custom-light: #fff9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fff774",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 116
  },
  "hsl": {
    "h": 56.547,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.95736,
    "c": 0.15194,
    "h": 105.7
  },
  "luminance": 0.89042
}

Semantic roles & 50–950 ramp

primary
#FFF774
secondary
#3B44DC
accent
#0DE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF774

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

Preview Lab → · Contrast checker → · Palette generator →

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