#F5EC72#F5EC72

#F5EC72 is a very light, vivid yellow. Relative luminance 0.806; OKLCH L 92.6% C 0.144 H 105.0°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#F5EC72
RGBrgb(245, 236, 114)
HSLhsl(56, 87%, 70%)
HSVhsv(56, 53%, 96%)
CMYKcmyk(0%, 3.7%, 53.5%, 3.9%)
CIE-LABlab(91.96, -12.34, 59.33)
CIE-LCHlch(91.96, 60.60, 101.75°)
OKLaboklab(92.64% -0.0372 0.1387)
OKLCHoklch(92.64% 0.144 105)
XYZxyz(70.6910, 80.6205, 27.7539)
Luminance0.8062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EC72 #727BF5
analogous
#F5AA72 #F5EC72 #BCF572
triadic
#F5EC72 #72F5EC #EC72F5
tetradic
#F5EC72 #72F5AA #727BF5 #F572BC
square
#F5EC72 #72F5AA #727BF5 #F572BC
split-complementary
#F5EC72 #72BCF5 #AA72F5
monochromatic
#DDCF10 #F1E439 #F5EC72 #F9F4AB #FDFBE2

Accessibility & contrast

On white

1.23
#F5EC72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.12
#F5EC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EC72
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EC72#FFFFFF#000000##000000
##F5EC721.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE566
Deuteranopia (green-blind)
#FFEB78
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5ec72;
/* rgb */ color: rgb(245, 236, 114);
/* oklch */ color: oklch(92.6% 0.144 105.0);
Tailwind
colors: {
  custom: {
    50: '#fbf19e',
    500: '#f5ec72',
    950: '#000000',
  },
}
SCSS
$custom: #f5ec72;
$custom-light: #fbf19e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ec72",
  "rgb": {
    "r": 245,
    "g": 236,
    "b": 114
  },
  "hsl": {
    "h": 55.878,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92644,
    "c": 0.14361,
    "h": 105
  },
  "luminance": 0.80618
}

Semantic roles & 50–950 ramp

primary
#F5EC72
secondary
#3C46CF
accent
#12E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F5EC72

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

Preview Lab → · Contrast checker → · Palette generator →

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