#F6EC8A#F6EC8A

#F6EC8A is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 93.0% C 0.120 H 103.3°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#F6EC8A
RGBrgb(246, 236, 138)
HSLhsl(54, 86%, 75%)
HSVhsv(54, 44%, 96%)
CMYKcmyk(0%, 4.1%, 43.9%, 3.5%)
CIE-LABlab(92.32, -9.85, 48.55)
CIE-LCHlch(92.32, 49.54, 101.47°)
OKLaboklab(93.04% -0.0277 0.117)
OKLCHoklch(93.04% 0.12 103.3)
XYZxyz(72.5905, 81.4208, 35.9318)
Luminance0.8142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EC8A #8A94F6
analogous
#F6B68A #F6EC8A #CAF68A
triadic
#F6EC8A #8AF6EC #EC8AF6
tetradic
#F6EC8A #8AF6B6 #8A94F6 #F68ACA
square
#F6EC8A #8AF6B6 #8A94F6 #F68ACA
split-complementary
#F6EC8A #8ACAF6 #B68AF6
monochromatic
#EDDA18 #F2E351 #F6EC8A #FAF5C3 #FDFAE3

Accessibility & contrast

On white

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

On black

17.28
#F6EC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EC8A
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EC8A#FFFFFF#000000##000000
##F6EC8A1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE682
Deuteranopia (green-blind)
#FFEB8E
Tritanopia (blue-blind)
#FFE0D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f6ec8a;
/* rgb */ color: rgb(246, 236, 138);
/* oklch */ color: oklch(93.0% 0.120 103.3);
Tailwind
colors: {
  custom: {
    50: '#fbf2ae',
    500: '#f6ec8a',
    950: '#000000',
  },
}
SCSS
$custom: #f6ec8a;
$custom-light: #fbf2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ec8a",
  "rgb": {
    "r": 246,
    "g": 236,
    "b": 138
  },
  "hsl": {
    "h": 54.444,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93036,
    "c": 0.12022,
    "h": 103.3
  },
  "luminance": 0.81419
}

Semantic roles & 50–950 ramp

primary
#F6EC8A
secondary
#515DD3
accent
#18E203
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F6EC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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