#F7EC6C#F7EC6C

#F7EC6C is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.7% C 0.149 H 104.4°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#F7EC6C
RGBrgb(247, 236, 108)
HSLhsl(55, 90%, 70%)
HSVhsv(55, 56%, 97%)
CMYKcmyk(0%, 4.5%, 56.3%, 3.1%)
CIE-LABlab(92.06, -11.99, 62.16)
CIE-LCHlch(92.06, 63.31, 100.92°)
OKLaboklab(92.75% -0.0369 0.1441)
OKLCHoklch(92.75% 0.149 104.4)
XYZxyz(71.0623, 80.8502, 26.0468)
Luminance0.8085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EC6C #6C77F7
analogous
#F7A76C #F7EC6C #BCF76C
triadic
#F7EC6C #6CF7EC #EC6CF7
tetradic
#F7EC6C #6CF7A7 #6C77F7 #F76CBC
square
#F7EC6C #6CF7A7 #6C77F7 #F76CBC
split-complementary
#F7EC6C #6CBCF7 #A76CF7
monochromatic
#DDCC0C #F4E432 #F7EC6C #FAF4A6 #FDFBE0

Accessibility & contrast

On white

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

On black

17.17
#F7EC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EC6C
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EC6C#FFFFFF#000000##000000
##F7EC6C1.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE55F
Deuteranopia (green-blind)
#FFEB73
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f7ec6c;
/* rgb */ color: rgb(247, 236, 108);
/* oklch */ color: oklch(92.7% 0.149 104.4);
Tailwind
colors: {
  custom: {
    50: '#fdf19a',
    500: '#f7ec6c',
    950: '#000000',
  },
}
SCSS
$custom: #f7ec6c;
$custom-light: #fdf19a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ec6c",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 108
  },
  "hsl": {
    "h": 55.252,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92746,
    "c": 0.14877,
    "h": 104.4
  },
  "luminance": 0.80848
}

Semantic roles & 50–950 ramp

primary
#F7EC6C
secondary
#3642D1
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F7EC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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