#FFF74F#FFF74F

#FFF74F is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.4% C 0.180 H 106.6°. Best body text is #000000 at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#FFF74F
RGBrgb(255, 247, 79)
HSLhsl(57, 100%, 65%)
HSVhsv(57, 69%, 100%)
CMYKcmyk(0%, 3.1%, 69%, 0%)
CIE-LABlab(95.31, -15.86, 77.37)
CIE-LCHlch(95.31, 78.98, 101.59°)
OKLaboklab(95.41% -0.0514 0.172)
OKLCHoklch(95.41% 0.18 106.6)
XYZxyz(75.9150, 88.3487, 20.4498)
Luminance0.8835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF74F #4F57FF
analogous
#FF9F4F #FFF74F #AFFF4F
triadic
#FFF74F #4FFFF7 #F74FFF
tetradic
#FFF74F #4FFF9F #4F57FF #FF4FAF
square
#FFF74F #4FFF9F #4F57FF #FF4FAF
split-complementary
#FFF74F #4FAFFF #9F4FFF
monochromatic
#D4CA00 #FFF412 #FFF74F #FFFA8C #FFFDC9

Accessibility & contrast

On white

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

On black

18.67
#FFF74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF74F
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF74F#FFFFFF#000000##000000
##FFF74F1.001.1218.6718.67
#FFFFFF1.121.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE33
Deuteranopia (green-blind)
#FFF55B
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fff74f;
/* rgb */ color: rgb(255, 247, 79);
/* oklch */ color: oklch(95.4% 0.180 106.6);
Tailwind
colors: {
  custom: {
    50: '#fff98a',
    500: '#fff74f',
    950: '#000000',
  },
}
SCSS
$custom: #fff74f;
$custom-light: #fff98a;
$custom-dark: #000000;
JSON
{
  "hex": "#fff74f",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 79
  },
  "hsl": {
    "h": 57.273,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.9541,
    "c": 0.17952,
    "h": 106.6
  },
  "luminance": 0.88346
}

Semantic roles & 50–950 ramp

primary
#FFF74F
secondary
#242CCE
accent
#0AE600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FFF74F

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

Preview Lab → · Contrast checker → · Palette generator →

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