#F6EC5F#F6EC5F

#F6EC5F is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.5% C 0.159 H 105.3°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#F6EC5F
RGBrgb(246, 236, 95)
HSLhsl(56, 89%, 67%)
HSVhsv(56, 61%, 96%)
CMYKcmyk(0%, 4.1%, 61.4%, 3.5%)
CIE-LABlab(91.87, -13.27, 67.47)
CIE-LCHlch(91.87, 68.76, 101.13°)
OKLaboklab(92.53% -0.0419 0.1538)
OKLCHoklch(92.53% 0.159 105.3)
XYZxyz(70.0695, 80.4124, 22.6544)
Luminance0.8041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EC5F #5F69F6
analogous
#F6A05F #F6EC5F #B5F65F
triadic
#F6EC5F #5FF6EC #EC5FF6
tetradic
#F6EC5F #5FF6A0 #5F69F6 #F65FB5
square
#F6EC5F #5FF6A0 #5F69F6 #F65FB5
split-complementary
#F6EC5F #5FB5F6 #A05FF6
monochromatic
#CFC20C #F3E525 #F6EC5F #F9F399 #FDFAD3

Accessibility & contrast

On white

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

On black

17.08
#F6EC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EC5F
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EC5F#FFFFFF#000000##000000
##F6EC5F1.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6ec5f;
/* rgb */ color: rgb(246, 236, 95);
/* oklch */ color: oklch(92.5% 0.159 105.3);
Tailwind
colors: {
  custom: {
    50: '#fcf192',
    500: '#f6ec5f',
    950: '#000000',
  },
}
SCSS
$custom: #f6ec5f;
$custom-light: #fcf192;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ec5f",
  "rgb": {
    "r": 246,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 56.026,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.92534,
    "c": 0.1594,
    "h": 105.3
  },
  "luminance": 0.8041
}

Semantic roles & 50–950 ramp

primary
#F6EC5F
secondary
#2F39CB
accent
#0FE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F6EC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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