#F6EC70#F6EC70

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

Color values

HEX#F6EC70
RGBrgb(246, 236, 112)
HSLhsl(56, 88%, 70%)
HSVhsv(56, 54%, 96%)
CMYKcmyk(0%, 4.1%, 54.5%, 3.5%)
CIE-LABlab(92.02, -12.10, 60.32)
CIE-LCHlch(92.02, 61.52, 101.34°)
OKLaboklab(92.71% -0.0367 0.1406)
OKLCHoklch(92.71% 0.145 104.6)
XYZxyz(70.9283, 80.7559, 27.1773)
Luminance0.8075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EC70 #707AF6
analogous
#F6A970 #F6EC70 #BDF670
triadic
#F6EC70 #70F6EC #EC70F6
tetradic
#F6EC70 #70F6A9 #707AF6 #F670BD
square
#F6EC70 #70F6A9 #707AF6 #F670BD
split-complementary
#F6EC70 #70BDF6 #A970F6
monochromatic
#DECE0E #F2E436 #F6EC70 #FAF4AA #FDFBE2

Accessibility & contrast

On white

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

On black

17.15
#F6EC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EC70
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EC70#FFFFFF#000000##000000
##F6EC701.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6ec70;
/* rgb */ color: rgb(246, 236, 112);
/* oklch */ color: oklch(92.7% 0.145 104.6);
Tailwind
colors: {
  custom: {
    50: '#fcf19d',
    500: '#f6ec70',
    950: '#000000',
  },
}
SCSS
$custom: #f6ec70;
$custom-light: #fcf19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ec70",
  "rgb": {
    "r": 246,
    "g": 236,
    "b": 112
  },
  "hsl": {
    "h": 55.522,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92705,
    "c": 0.14533,
    "h": 104.6
  },
  "luminance": 0.80754
}

Semantic roles & 50–950 ramp

primary
#F6EC70
secondary
#3A45D0
accent
#12E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F6EC70

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

Preview Lab → · Contrast checker → · Palette generator →

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