#F4EC5A#F4EC5A

#F4EC5A is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.3% C 0.163 H 106.2°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#F4EC5A
RGBrgb(244, 236, 90)
HSLhsl(57, 88%, 65%)
HSVhsv(57, 63%, 96%)
CMYKcmyk(0%, 3.3%, 63.1%, 4.3%)
CIE-LABlab(91.67, -14.39, 69.24)
CIE-LCHlch(91.67, 70.72, 101.74°)
OKLaboklab(92.32% -0.0455 0.1569)
OKLCHoklch(92.32% 0.163 106.2)
XYZxyz(69.1516, 79.9645, 21.4629)
Luminance0.7996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4EC5A #5A62F4
analogous
#F49F5A #F4EC5A #AFF45A
triadic
#F4EC5A #5AF4EC #EC5AF4
tetradic
#F4EC5A #5AF49F #5A62F4 #F45AAF
square
#F4EC5A #5AF49F #5A62F4 #F45AAF
split-complementary
#F4EC5A #5AAFF4 #9F5AF4
monochromatic
#C6BD0D #F0E521 #F4EC5A #F8F393 #FCF9CD

Accessibility & contrast

On white

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

On black

16.99
#F4EC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4EC5A
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4EC5A#FFFFFF#000000##000000
##F4EC5A1.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE447
Deuteranopia (green-blind)
#FFEA63
Tritanopia (blue-blind)
#FFDDCE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f4ec5a;
/* rgb */ color: rgb(244, 236, 90);
/* oklch */ color: oklch(92.3% 0.163 106.2);
Tailwind
colors: {
  custom: {
    50: '#fbf18f',
    500: '#f4ec5a',
    950: '#000000',
  },
}
SCSS
$custom: #f4ec5a;
$custom-light: #fbf18f;
$custom-dark: #000000;
JSON
{
  "hex": "#f4ec5a",
  "rgb": {
    "r": 244,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 56.883,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.92323,
    "c": 0.16334,
    "h": 106.2
  },
  "luminance": 0.79962
}

Semantic roles & 50–950 ramp

primary
#F4EC5A
secondary
#2F37C3
accent
#0DE401
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F4EC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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