#F7EC6F#F7EC6F

#F7EC6F is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.8% C 0.146 H 104.3°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#F7EC6F
RGBrgb(247, 236, 111)
HSLhsl(55, 89%, 70%)
HSVhsv(55, 55%, 97%)
CMYKcmyk(0%, 4.5%, 55.1%, 3.1%)
CIE-LABlab(92.09, -11.77, 60.87)
CIE-LCHlch(92.09, 62.00, 100.94°)
OKLaboklab(92.78% -0.036 0.1417)
OKLCHoklch(92.78% 0.146 104.3)
XYZxyz(71.2247, 80.9151, 26.9022)
Luminance0.8091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EC6F #6F7AF7
analogous
#F7A86F #F7EC6F #BEF76F
triadic
#F7EC6F #6FF7EC #EC6FF7
tetradic
#F7EC6F #6FF7A8 #6F7AF7 #F76FBE
square
#F7EC6F #6FF7A8 #6F7AF7 #F76FBE
split-complementary
#F7EC6F #6FBEF7 #A86FF7
monochromatic
#DFCE0C #F4E435 #F7EC6F #FAF4A9 #FDFBE2

Accessibility & contrast

On white

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

On black

17.18
#F7EC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EC6F
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EC6F#FFFFFF#000000##000000
##F7EC6F1.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7ec6f;
/* rgb */ color: rgb(247, 236, 111);
/* oklch */ color: oklch(92.8% 0.146 104.3);
Tailwind
colors: {
  custom: {
    50: '#fcf19c',
    500: '#f7ec6f',
    950: '#000000',
  },
}
SCSS
$custom: #f7ec6f;
$custom-light: #fcf19c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ec6f",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 111
  },
  "hsl": {
    "h": 55.147,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92778,
    "c": 0.14616,
    "h": 104.3
  },
  "luminance": 0.80913
}

Semantic roles & 50–950 ramp

primary
#F7EC6F
secondary
#3945D1
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F7EC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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