#F7EC74#F7EC74

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

Color values

HEX#F7EC74
RGBrgb(247, 236, 116)
HSLhsl(55, 89%, 71%)
HSVhsv(55, 53%, 97%)
CMYKcmyk(0%, 4.5%, 53%, 3.1%)
CIE-LABlab(92.14, -11.39, 58.68)
CIE-LCHlch(92.14, 59.78, 100.98°)
OKLaboklab(92.83% -0.0344 0.1375)
OKLCHoklch(92.83% 0.142 104)
XYZxyz(71.5078, 81.0284, 28.3929)
Luminance0.8103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EC74 #747FF7
analogous
#F7AA74 #F7EC74 #C0F774
triadic
#F7EC74 #74F7EC #EC74F7
tetradic
#F7EC74 #74F7AA #747FF7 #F774C0
square
#F7EC74 #74F7AA #747FF7 #F774C0
split-complementary
#F7EC74 #74C0F7 #AA74F7
monochromatic
#E4D20D #F4E43A #F7EC74 #FAF4AE #FDFBE2

Accessibility & contrast

On white

1.22
#F7EC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.21
#F7EC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EC74
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EC74#FFFFFF#000000##000000
##F7EC741.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7ec74;
/* rgb */ color: rgb(247, 236, 116);
/* oklch */ color: oklch(92.8% 0.142 104.0);
Tailwind
colors: {
  custom: {
    50: '#fcf19f',
    500: '#f7ec74',
    950: '#000000',
  },
}
SCSS
$custom: #f7ec74;
$custom-light: #fcf19f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ec74",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 54.962,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92834,
    "c": 0.1417,
    "h": 104
  },
  "luminance": 0.81026
}

Semantic roles & 50–950 ramp

primary
#F7EC74
secondary
#3D4AD2
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F7EC74

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

Preview Lab → · Contrast checker → · Palette generator →

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