#F7EC5E#F7EC5E

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

Color values

HEX#F7EC5E
RGBrgb(247, 236, 94)
HSLhsl(56, 91%, 67%)
HSVhsv(56, 62%, 97%)
CMYKcmyk(0%, 4.5%, 61.9%, 3.1%)
CIE-LABlab(91.94, -12.93, 67.98)
CIE-LCHlch(91.94, 69.20, 100.77°)
OKLaboklab(92.61% -0.0411 0.1547)
OKLCHoklch(92.61% 0.16 104.9)
XYZxyz(70.3761, 80.5757, 22.4331)
Luminance0.8057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EC5E #5E69F7
analogous
#F79F5E #F7EC5E #B6F75E
triadic
#F7EC5E #5EF7EC #EC5EF7
tetradic
#F7EC5E #5EF79F #5E69F7 #F75EB6
square
#F7EC5E #5EF79F #5E69F7 #F75EB6
split-complementary
#F7EC5E #5EB6F7 #9F5EF7
monochromatic
#D0C20A #F4E524 #F7EC5E #FAF398 #FDFAD3

Accessibility & contrast

On white

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

On black

17.11
#F7EC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EC5E
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EC5E#FFFFFF#000000##000000
##F7EC5E1.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE44D
Deuteranopia (green-blind)
#FFEB66
Tritanopia (blue-blind)
#FFDDCE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f7ec5e;
/* rgb */ color: rgb(247, 236, 94);
/* oklch */ color: oklch(92.6% 0.160 104.9);
Tailwind
colors: {
  custom: {
    50: '#fdf192',
    500: '#f7ec5e',
    950: '#000000',
  },
}
SCSS
$custom: #f7ec5e;
$custom-light: #fdf192;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ec5e",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 94
  },
  "hsl": {
    "h": 55.686,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.92609,
    "c": 0.16008,
    "h": 104.9
  },
  "luminance": 0.80573
}

Semantic roles & 50–950 ramp

primary
#F7EC5E
secondary
#2E39CC
accent
#11E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F7EC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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