#F6EF8A#F6EF8A

#F6EF8A is a very light, vivid yellow. Relative luminance 0.832; OKLCH L 93.6% C 0.123 H 105.0°. Best body text is #000000 at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#F6EF8A
RGBrgb(246, 239, 138)
HSLhsl(56, 86%, 75%)
HSVhsv(56, 44%, 96%)
CMYKcmyk(0%, 2.8%, 43.9%, 3.5%)
CIE-LABlab(93.09, -11.34, 49.50)
CIE-LCHlch(93.09, 50.78, 102.90°)
OKLaboklab(93.65% -0.032 0.1191)
OKLCHoklch(93.65% 0.123 105)
XYZxyz(73.4615, 83.1628, 36.2221)
Luminance0.8316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EF8A #8A91F6
analogous
#F6B98A #F6EF8A #C7F68A
triadic
#F6EF8A #8AF6EF #EF8AF6
tetradic
#F6EF8A #8AF6B9 #8A91F6 #F68AC7
square
#F6EF8A #8AF6B9 #8A91F6 #F68AC7
split-complementary
#F6EF8A #8AC7F6 #B98AF6
monochromatic
#EDDF18 #F2E751 #F6EF8A #FAF7C3 #FDFBE3

Accessibility & contrast

On white

1.19
#F6EF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.63
#F6EF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EF8A
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EF8A#FFFFFF#000000##000000
##F6EF8A1.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE882
Deuteranopia (green-blind)
#FFED8E
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f6ef8a;
/* rgb */ color: rgb(246, 239, 138);
/* oklch */ color: oklch(93.6% 0.123 105.0);
Tailwind
colors: {
  custom: {
    50: '#fbf4ae',
    500: '#f6ef8a',
    950: '#000000',
  },
}
SCSS
$custom: #f6ef8a;
$custom-light: #fbf4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ef8a",
  "rgb": {
    "r": 246,
    "g": 239,
    "b": 138
  },
  "hsl": {
    "h": 56.111,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93645,
    "c": 0.12333,
    "h": 105
  },
  "luminance": 0.83161
}

Semantic roles & 50–950 ramp

primary
#F6EF8A
secondary
#5159D3
accent
#12E203
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F6EF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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