#F6EA98#F6EA98

#F6EA98 is a very light, moderate yellow. Relative luminance 0.807; OKLCH L 92.8% C 0.103 H 101.0°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#F6EA98
RGBrgb(246, 234, 152)
HSLhsl(52, 84%, 78%)
HSVhsv(52, 38%, 96%)
CMYKcmyk(0%, 4.9%, 38.2%, 3.5%)
CIE-LABlab(92.00, -7.43, 41.29)
CIE-LCHlch(92.00, 41.95, 100.20°)
OKLaboklab(92.85% -0.0196 0.1012)
OKLCHoklch(92.85% 0.103 101)
XYZxyz(73.0976, 80.7075, 41.4272)
Luminance0.8071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EA98 #98A4F6
analogous
#F6BB98 #F6EA98 #D3F698
triadic
#F6EA98 #98F6EA #EA98F6
tetradic
#F6EA98 #98F6BB #98A4F6 #F698D3
square
#F6EA98 #98F6BB #98A4F6 #F698D3
split-complementary
#F6EA98 #98D3F6 #BB98F6
monochromatic
#ECD327 #F1DF60 #F6EA98 #FBF5D0 #FDF9E3

Accessibility & contrast

On white

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

On black

17.14
#F6EA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EA98
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EA98#FFFFFF#000000##000000
##F6EA981.001.2317.1417.14
#FFFFFF1.231.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E592
Deuteranopia (green-blind)
#FCEA9B
Tritanopia (blue-blind)
#FFDFD5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f6ea98;
/* rgb */ color: rgb(246, 234, 152);
/* oklch */ color: oklch(92.8% 0.103 101.0);
Tailwind
colors: {
  custom: {
    50: '#faf0b7',
    500: '#f6ea98',
    950: '#000000',
  },
}
SCSS
$custom: #f6ea98;
$custom-light: #faf0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ea98",
  "rgb": {
    "r": 246,
    "g": 234,
    "b": 152
  },
  "hsl": {
    "h": 52.34,
    "s": 83.929,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92847,
    "c": 0.10312,
    "h": 101
  },
  "luminance": 0.80705
}

Semantic roles & 50–950 ramp

primary
#F6EA98
secondary
#5D6DD5
accent
#21E005
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F6EA98

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

Preview Lab → · Contrast checker → · Palette generator →

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