#F5EA72#F5EA72

#F5EA72 is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 92.2% C 0.142 H 104.0°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#F5EA72
RGBrgb(245, 234, 114)
HSLhsl(55, 87%, 70%)
HSVhsv(55, 53%, 96%)
CMYKcmyk(0%, 4.5%, 53.5%, 3.9%)
CIE-LABlab(91.45, -11.35, 58.74)
CIE-LCHlch(91.45, 59.83, 100.94°)
OKLaboklab(92.24% -0.0344 0.1374)
OKLCHoklch(92.24% 0.142 104)
XYZxyz(70.1184, 79.4753, 27.5630)
Luminance0.7947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA72 #727DF5
analogous
#F5A872 #F5EA72 #BEF572
triadic
#F5EA72 #72F5EA #EA72F5
tetradic
#F5EA72 #72F5A8 #727DF5 #F572BE
square
#F5EA72 #72F5A8 #727DF5 #F572BE
split-complementary
#F5EA72 #72BEF5 #A872F5
monochromatic
#DDCC10 #F1E139 #F5EA72 #F9F3AB #FDFBE2

Accessibility & contrast

On white

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

On black

16.89
#F5EA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EA72
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EA72#FFFFFF#000000##000000
##F5EA721.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE366
Deuteranopia (green-blind)
#FFE978
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f5ea72;
/* rgb */ color: rgb(245, 234, 114);
/* oklch */ color: oklch(92.2% 0.142 104.0);
Tailwind
colors: {
  custom: {
    50: '#fbf09e',
    500: '#f5ea72',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea72;
$custom-light: #fbf09e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea72",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 114
  },
  "hsl": {
    "h": 54.962,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92236,
    "c": 0.14165,
    "h": 104
  },
  "luminance": 0.79473
}

Semantic roles & 50–950 ramp

primary
#F5EA72
secondary
#3C48CF
accent
#15E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F5EA72

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

Preview Lab → · Contrast checker → · Palette generator →

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