#F6EB8A#F6EB8A

#F6EB8A is a very light, moderate yellow. Relative luminance 0.808; OKLCH L 92.8% C 0.119 H 102.8°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#F6EB8A
RGBrgb(246, 235, 138)
HSLhsl(54, 86%, 75%)
HSVhsv(54, 44%, 96%)
CMYKcmyk(0%, 4.5%, 43.9%, 3.5%)
CIE-LABlab(92.06, -9.36, 48.23)
CIE-LCHlch(92.06, 49.13, 100.98°)
OKLaboklab(92.83% -0.0263 0.1163)
OKLCHoklch(92.83% 0.119 102.8)
XYZxyz(72.3034, 80.8466, 35.8361)
Luminance0.8084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EB8A #8A95F6
analogous
#F6B58A #F6EB8A #CBF68A
triadic
#F6EB8A #8AF6EB #EB8AF6
tetradic
#F6EB8A #8AF6B5 #8A95F6 #F68ACB
square
#F6EB8A #8AF6B5 #8A95F6 #F68ACB
split-complementary
#F6EB8A #8ACBF6 #B58AF6
monochromatic
#EDD818 #F2E151 #F6EB8A #FAF5C3 #FDFAE3

Accessibility & contrast

On white

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

On black

17.17
#F6EB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EB8A
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EB8A#FFFFFF#000000##000000
##F6EB8A1.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE582
Deuteranopia (green-blind)
#FFEB8E
Tritanopia (blue-blind)
#FFDFD4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f6eb8a;
/* rgb */ color: rgb(246, 235, 138);
/* oklch */ color: oklch(92.8% 0.119 102.8);
Tailwind
colors: {
  custom: {
    50: '#fbf1ae',
    500: '#f6eb8a',
    950: '#000000',
  },
}
SCSS
$custom: #f6eb8a;
$custom-light: #fbf1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f6eb8a",
  "rgb": {
    "r": 246,
    "g": 235,
    "b": 138
  },
  "hsl": {
    "h": 53.889,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.92833,
    "c": 0.1192,
    "h": 102.8
  },
  "luminance": 0.80844
}

Semantic roles & 50–950 ramp

primary
#F6EB8A
secondary
#515ED3
accent
#1AE203
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F6EB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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