#F5EA74#F5EA74

#F5EA74 is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 92.3% C 0.140 H 103.9°. Best body text is #000000 at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#F5EA74
RGBrgb(245, 234, 116)
HSLhsl(55, 87%, 71%)
HSVhsv(55, 53%, 96%)
CMYKcmyk(0%, 4.5%, 52.7%, 3.9%)
CIE-LABlab(91.47, -11.20, 57.85)
CIE-LCHlch(91.47, 58.93, 100.95°)
OKLaboklab(92.26% -0.0337 0.1357)
OKLCHoklch(92.26% 0.14 103.9)
XYZxyz(70.2335, 79.5214, 28.1691)
Luminance0.7952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA74 #747FF5
analogous
#F5A974 #F5EA74 #BFF574
triadic
#F5EA74 #74F5EA #EA74F5
tetradic
#F5EA74 #74F5A9 #747FF5 #F574BF
square
#F5EA74 #74F5A9 #747FF5 #F574BF
split-complementary
#F5EA74 #74BFF5 #A974F5
monochromatic
#DFCD10 #F1E13B #F5EA74 #F9F3AD #FDFBE2

Accessibility & contrast

On white

1.24
#F5EA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.90
#F5EA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EA74
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EA74#FFFFFF#000000##000000
##F5EA741.001.2416.9016.90
#FFFFFF1.241.0021.0021.00
#00000016.9021.001.001.00
##00000016.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE369
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#FFDDCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f5ea74;
/* rgb */ color: rgb(245, 234, 116);
/* oklch */ color: oklch(92.3% 0.140 103.9);
Tailwind
colors: {
  custom: {
    50: '#fbf09f',
    500: '#f5ea74',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea74;
$custom-light: #fbf09f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea74",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 116
  },
  "hsl": {
    "h": 54.884,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92259,
    "c": 0.13983,
    "h": 103.9
  },
  "luminance": 0.79519
}

Semantic roles & 50–950 ramp

primary
#F5EA74
secondary
#3E4AD0
accent
#16E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F5EA74

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

Preview Lab → · Contrast checker → · Palette generator →

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