#F5E774#F5E774

#F5E774 is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.6% C 0.137 H 102.4°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#F5E774
RGBrgb(245, 231, 116)
HSLhsl(53, 87%, 71%)
HSVhsv(53, 53%, 96%)
CMYKcmyk(0%, 5.7%, 52.7%, 3.9%)
CIE-LABlab(90.70, -9.71, 56.96)
CIE-LCHlch(90.70, 57.78, 99.67°)
OKLaboklab(91.65% -0.0294 0.1338)
OKLCHoklch(91.65% 0.137 102.4)
XYZxyz(69.3866, 77.8277, 27.8869)
Luminance0.7782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E774 #7482F5
analogous
#F5A674 #F5E774 #C3F574
triadic
#F5E774 #74F5E7 #E774F5
tetradic
#F5E774 #74F5A6 #7482F5 #F574C3
square
#F5E774 #74F5A6 #7482F5 #F574C3
split-complementary
#F5E774 #74C3F5 #A674F5
monochromatic
#DFC810 #F1DD3B #F5E774 #F9F1AD #FDFAE2

Accessibility & contrast

On white

1.27
#F5E774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.57
#F5E774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E774
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E774#FFFFFF#000000##000000
##F5E7741.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E169
Deuteranopia (green-blind)
#FDE779
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e774;
/* rgb */ color: rgb(245, 231, 116);
/* oklch */ color: oklch(91.6% 0.137 102.4);
Tailwind
colors: {
  custom: {
    50: '#fbee9f',
    500: '#f5e774',
    950: '#000000',
  },
}
SCSS
$custom: #f5e774;
$custom-light: #fbee9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e774",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 116
  },
  "hsl": {
    "h": 53.488,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91649,
    "c": 0.13696,
    "h": 102.4
  },
  "luminance": 0.77825
}

Semantic roles & 50–950 ramp

primary
#F5E774
secondary
#3E4DD0
accent
#1BE302
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E774

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

Preview Lab → · Contrast checker → · Palette generator →

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