#F6EF8D#F6EF8D

#F6EF8D is a very light, vivid yellow. Relative luminance 0.832; OKLCH L 93.7% C 0.120 H 104.9°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#F6EF8D
RGBrgb(246, 239, 141)
HSLhsl(56, 85%, 76%)
HSVhsv(56, 43%, 96%)
CMYKcmyk(0%, 2.8%, 42.7%, 3.5%)
CIE-LABlab(93.12, -11.05, 48.10)
CIE-LCHlch(93.12, 49.35, 102.94°)
OKLaboklab(93.69% -0.0309 0.1162)
OKLCHoklch(93.69% 0.12 104.9)
XYZxyz(73.6817, 83.2508, 37.3818)
Luminance0.8325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6EF8D #8D94F6
analogous
#F6BA8D #F6EF8D #C8F68D
triadic
#F6EF8D #8DF6EF #EF8DF6
tetradic
#F6EF8D #8DF6BA #8D94F6 #F68DC8
square
#F6EF8D #8DF6BA #8D94F6 #F68DC8
split-complementary
#F6EF8D #8DC8F6 #BA8DF6
monochromatic
#EDDF1C #F2E754 #F6EF8D #FAF7C6 #FDFBE3

Accessibility & contrast

On white

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

On black

17.65
#F6EF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6EF8D
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6EF8D#FFFFFF#000000##000000
##F6EF8D1.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6ef8d;
/* rgb */ color: rgb(246, 239, 141);
/* oklch */ color: oklch(93.7% 0.120 104.9);
Tailwind
colors: {
  custom: {
    50: '#fbf4b0',
    500: '#f6ef8d',
    950: '#000000',
  },
}
SCSS
$custom: #f6ef8d;
$custom-light: #fbf4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#f6ef8d",
  "rgb": {
    "r": 246,
    "g": 239,
    "b": 141
  },
  "hsl": {
    "h": 56,
    "s": 85.366,
    "l": 75.882
  },
  "oklch": {
    "l": 0.93688,
    "c": 0.1202,
    "h": 104.9
  },
  "luminance": 0.83249
}

Semantic roles & 50–950 ramp

primary
#F6EF8D
secondary
#535CD4
accent
#12E204
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #F6EF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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