#F6EFB2#F6EFB2

#F6EFB2 is a very light, moderate yellow. Relative luminance 0.845; OKLCH L 94.3% C 0.078 H 102.3°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#F6EFB2
RGBrgb(246, 239, 178)
HSLhsl(54, 79%, 83%)
HSVhsv(54, 28%, 96%)
CMYKcmyk(0%, 2.8%, 27.6%, 3.5%)
CIE-LABlab(93.69, -6.86, 30.43)
CIE-LCHlch(93.69, 31.20, 102.70°)
OKLaboklab(94.32% -0.0167 0.0766)
OKLCHoklch(94.32% 0.078 102.3)
XYZxyz(76.9088, 84.5417, 54.3776)
Luminance0.8454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EFB2 #B2B9F6
analogous
#F6CDB2 #F6EFB2 #DBF6B2
triadic
#F6EFB2 #B2F6EF #EFB2F6
tetradic
#F6EFB2 #B2F6CD #B2B9F6 #F6B2DB
square
#F6EFB2 #B2F6CD #B2B9F6 #F6B2DB
split-complementary
#F6EFB2 #B2DBF6 #CDB2F6
monochromatic
#E9D844 #F0E47B #F6EFB2 #FCF9E4 #FCF9E4

Accessibility & contrast

On white

1.17
#F6EFB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.91
#F6EFB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EFB2
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EFB2#FFFFFF#000000##000000
##F6EFB21.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAEBAE
Deuteranopia (green-blind)
#FDEFB4
Tritanopia (blue-blind)
#FFE7DF
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f6efb2;
/* rgb */ color: rgb(246, 239, 178);
/* oklch */ color: oklch(94.3% 0.078 102.3);
Tailwind
colors: {
  custom: {
    50: '#faf4c9',
    500: '#f6efb2',
    950: '#000000',
  },
}
SCSS
$custom: #f6efb2;
$custom-light: #faf4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f6efb2",
  "rgb": {
    "r": 246,
    "g": 239,
    "b": 178
  },
  "hsl": {
    "h": 53.824,
    "s": 79.07,
    "l": 83.137
  },
  "oklch": {
    "l": 0.94316,
    "c": 0.07835,
    "h": 102.3
  },
  "luminance": 0.8454
}

Semantic roles & 50–950 ramp

primary
#F6EFB2
secondary
#757FD7
accent
#20DB0A
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171713
muted
#858582

Preview Lab

Preview with #F6EFB2

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

Preview Lab → · Contrast checker → · Palette generator →

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