#F5F774#F5F774

#F5F774 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 94.9% C 0.153 H 109.8°. Best body text is #000000 at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#F5F774
RGBrgb(245, 247, 116)
HSLhsl(61, 89%, 71%)
HSVhsv(61, 53%, 97%)
CMYKcmyk(0.8%, 0%, 53%, 3.1%)
CIE-LABlab(94.82, -17.56, 61.73)
CIE-LCHlch(94.82, 64.18, 105.88°)
OKLaboklab(94.93% -0.0518 0.1441)
OKLCHoklch(94.93% 0.153 109.8)
XYZxyz(74.0712, 87.1967, 29.4484)
Luminance0.8720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F774 #7674F7
analogous
#F7B774 #F5F774 #B3F774
triadic
#F5F774 #74F5F7 #F774F5
tetradic
#F5F774 #74F7B7 #7674F7 #F774B3
square
#F5F774 #74F7B7 #7674F7 #F774B3
split-complementary
#F5F774 #74B3F7 #B774F7
monochromatic
#E0E40D #F1F43A #F5F774 #F9FAAE #FDFDE2

Accessibility & contrast

On white

1.14
#F5F774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.44
#F5F774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F774
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F774#FFFFFF#000000##000000
##F5F7741.001.1418.4418.44
#FFFFFF1.141.0021.0021.00
#00000018.4421.001.001.00
##00000018.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE67
Deuteranopia (green-blind)
#FFF27B
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5f774;
/* rgb */ color: rgb(245, 247, 116);
/* oklch */ color: oklch(94.9% 0.153 109.8);
Tailwind
colors: {
  custom: {
    50: '#fbf9a0',
    500: '#f5f774',
    950: '#000000',
  },
}
SCSS
$custom: #f5f774;
$custom-light: #fbf9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f774",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 116
  },
  "hsl": {
    "h": 60.916,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94927,
    "c": 0.15313,
    "h": 109.8
  },
  "luminance": 0.87195
}

Semantic roles & 50–950 ramp

primary
#F5F774
secondary
#3F3DD2
accent
#00E604
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F774

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

Preview Lab → · Contrast checker → · Palette generator →

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