#F5E574#F5E574

#F5E574 is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.2% C 0.135 H 101.3°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#F5E574
RGBrgb(245, 229, 116)
HSLhsl(53, 87%, 71%)
HSVhsv(53, 53%, 96%)
CMYKcmyk(0%, 6.5%, 52.7%, 3.9%)
CIE-LABlab(90.19, -8.71, 56.36)
CIE-LCHlch(90.19, 57.03, 98.79°)
OKLaboklab(91.24% -0.0266 0.1325)
OKLCHoklch(91.24% 0.135 101.3)
XYZxyz(68.8301, 76.7145, 27.7013)
Luminance0.7671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E574 #7484F5
analogous
#F5A474 #F5E574 #C4F574
triadic
#F5E574 #74F5E5 #E574F5
tetradic
#F5E574 #74F5A4 #7484F5 #F574C4
square
#F5E574 #74F5A4 #7484F5 #F574C4
split-complementary
#F5E574 #74C4F5 #A474F5
monochromatic
#DFC510 #F1DA3B #F5E574 #F9F0AD #FDFAE2

Accessibility & contrast

On white

1.29
#F5E574 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.34
#F5E574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E574
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E574#FFFFFF#000000##000000
##F5E5741.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF69
Deuteranopia (green-blind)
#FCE679
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e574;
/* rgb */ color: rgb(245, 229, 116);
/* oklch */ color: oklch(91.2% 0.135 101.3);
Tailwind
colors: {
  custom: {
    50: '#fbed9f',
    500: '#f5e574',
    950: '#000000',
  },
}
SCSS
$custom: #f5e574;
$custom-light: #fbed9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e574",
  "rgb": {
    "r": 245,
    "g": 229,
    "b": 116
  },
  "hsl": {
    "h": 52.558,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91243,
    "c": 0.1351,
    "h": 101.3
  },
  "luminance": 0.76712
}

Semantic roles & 50–950 ramp

primary
#F5E574
secondary
#3E50D0
accent
#1EE302
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E574

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

Preview Lab → · Contrast checker → · Palette generator →

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