#F7EC6E#F7EC6E

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

Color values

HEX#F7EC6E
RGBrgb(247, 236, 110)
HSLhsl(55, 90%, 70%)
HSVhsv(55, 55%, 97%)
CMYKcmyk(0%, 4.5%, 55.5%, 3.1%)
CIE-LABlab(92.08, -11.84, 61.30)
CIE-LCHlch(92.08, 62.44, 100.94°)
OKLaboklab(92.77% -0.0363 0.1425)
OKLCHoklch(92.77% 0.147 104.3)
XYZxyz(71.1700, 80.8932, 26.6138)
Luminance0.8089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EC6E #6E79F7
analogous
#F7A76E #F7EC6E #BEF76E
triadic
#F7EC6E #6EF7EC #EC6EF7
tetradic
#F7EC6E #6EF7A7 #6E79F7 #F76EBE
square
#F7EC6E #6EF7A7 #6E79F7 #F76EBE
split-complementary
#F7EC6E #6EBEF7 #A76EF7
monochromatic
#DECD0C #F4E434 #F7EC6E #FAF4A8 #FDFBE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7EC6E#FFFFFF#000000##000000
##F7EC6E1.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)
#FEE561
Deuteranopia (green-blind)
#FFEB74
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f7ec6e;
/* rgb */ color: rgb(247, 236, 110);
/* oklch */ color: oklch(92.8% 0.147 104.3);
Tailwind
colors: {
  custom: {
    50: '#fcf19b',
    500: '#f7ec6e',
    950: '#000000',
  },
}
SCSS
$custom: #f7ec6e;
$custom-light: #fcf19b;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ec6e",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 110
  },
  "hsl": {
    "h": 55.182,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.92767,
    "c": 0.14704,
    "h": 104.3
  },
  "luminance": 0.80891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7EC6E

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

Preview Lab → · Contrast checker → · Palette generator →

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