#F4EC74#F4EC74

#F4EC74 is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.6% C 0.142 H 105.4°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#F4EC74
RGBrgb(244, 236, 116)
HSLhsl(56, 85%, 71%)
HSVhsv(56, 52%, 96%)
CMYKcmyk(0%, 3.3%, 52.5%, 4.3%)
CIE-LABlab(91.90, -12.58, 58.34)
CIE-LCHlch(91.90, 59.68, 102.17°)
OKLaboklab(92.58% -0.0376 0.1368)
OKLCHoklch(92.58% 0.142 105.4)
XYZxyz(70.4581, 80.4871, 28.3437)
Luminance0.8048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4EC74 #747CF4
analogous
#F4AC74 #F4EC74 #BCF474
triadic
#F4EC74 #74F4EC #EC74F4
tetradic
#F4EC74 #74F4AC #747CF4 #F474BC
square
#F4EC74 #74F4AC #747CF4 #F474BC
split-complementary
#F4EC74 #74BCF4 #AC74F4
monochromatic
#DCD011 #F0E43B #F4EC74 #F8F4AD #FDFBE3

Accessibility & contrast

On white

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

On black

17.10
#F4EC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4EC74
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4EC74#FFFFFF#000000##000000
##F4EC741.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE569
Deuteranopia (green-blind)
#FFEA7A
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f4ec74;
/* rgb */ color: rgb(244, 236, 116);
/* oklch */ color: oklch(92.6% 0.142 105.4);
Tailwind
colors: {
  custom: {
    50: '#faf19f',
    500: '#f4ec74',
    950: '#000000',
  },
}
SCSS
$custom: #f4ec74;
$custom-light: #faf19f;
$custom-dark: #000000;
JSON
{
  "hex": "#f4ec74",
  "rgb": {
    "r": 244,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 56.25,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92584,
    "c": 0.14186,
    "h": 105.4
  },
  "luminance": 0.80485
}

Semantic roles & 50–950 ramp

primary
#F4EC74
secondary
#3E47CE
accent
#12E204
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F4EC74

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

Preview Lab → · Contrast checker → · Palette generator →

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