#F5E074#F5E074

#F5E074 is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.2% C 0.131 H 98.5°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#F5E074
RGBrgb(245, 224, 116)
HSLhsl(50, 87%, 71%)
HSVhsv(50, 53%, 96%)
CMYKcmyk(0%, 8.6%, 52.7%, 3.9%)
CIE-LABlab(88.92, -6.21, 54.86)
CIE-LCHlch(88.92, 55.21, 96.46°)
OKLaboklab(90.23% -0.0194 0.1292)
OKLCHoklch(90.23% 0.131 98.5)
XYZxyz(67.4665, 73.9874, 27.2468)
Luminance0.7399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E074 #7489F5
analogous
#F59F74 #F5E074 #C9F574
triadic
#F5E074 #74F5E0 #E074F5
tetradic
#F5E074 #74F59F #7489F5 #F574C9
square
#F5E074 #74F59F #7489F5 #F574C9
split-complementary
#F5E074 #74C9F5 #9F74F5
monochromatic
#DFBD10 #F1D33B #F5E074 #F9EDAD #FDF9E2

Accessibility & contrast

On white

1.33
#F5E074 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.80
#F5E074 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E074
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E074#FFFFFF#000000##000000
##F5E0741.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB6A
Deuteranopia (green-blind)
#F8E379
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5e074;
/* rgb */ color: rgb(245, 224, 116);
/* oklch */ color: oklch(90.2% 0.131 98.5);
Tailwind
colors: {
  custom: {
    50: '#fbe99f',
    500: '#f5e074',
    950: '#000000',
  },
}
SCSS
$custom: #f5e074;
$custom-light: #fbe99f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e074",
  "rgb": {
    "r": 245,
    "g": 224,
    "b": 116
  },
  "hsl": {
    "h": 50.233,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90234,
    "c": 0.13065,
    "h": 98.5
  },
  "luminance": 0.73985
}

Semantic roles & 50–950 ramp

primary
#F5E074
secondary
#3E55D0
accent
#27E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E074

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

Preview Lab → · Contrast checker → · Palette generator →

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