#F6E862#F6E862

#F6E862 is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.7% C 0.153 H 103.4°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#F6E862
RGBrgb(246, 232, 98)
HSLhsl(54, 89%, 67%)
HSVhsv(54, 60%, 96%)
CMYKcmyk(0%, 5.7%, 60.2%, 3.5%)
CIE-LABlab(90.87, -11.11, 65.13)
CIE-LCHlch(90.87, 66.07, 99.68°)
OKLaboklab(91.74% -0.0354 0.1492)
OKLCHoklch(91.74% 0.153 103.4)
XYZxyz(69.0698, 78.1905, 23.0069)
Luminance0.7819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E862 #6270F6
analogous
#F69E62 #F6E862 #BAF662
triadic
#F6E862 #62F6E8 #E862F6
tetradic
#F6E862 #62F69E #6270F6 #F662BA
square
#F6E862 #62F69E #6270F6 #F662BA
split-complementary
#F6E862 #62BAF6 #9E62F6
monochromatic
#D2BF0C #F3E028 #F6E862 #F9F09C #FDF9D6

Accessibility & contrast

On white

1.26
#F6E862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.64
#F6E862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E862
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E862#FFFFFF#000000##000000
##F6E8621.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE153
Deuteranopia (green-blind)
#FFE869
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f6e862;
/* rgb */ color: rgb(246, 232, 98);
/* oklch */ color: oklch(91.7% 0.153 103.4);
Tailwind
colors: {
  custom: {
    50: '#fcef94',
    500: '#f6e862',
    950: '#000000',
  },
}
SCSS
$custom: #f6e862;
$custom-light: #fcef94;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e862",
  "rgb": {
    "r": 246,
    "g": 232,
    "b": 98
  },
  "hsl": {
    "h": 54.324,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.91744,
    "c": 0.15338,
    "h": 103.4
  },
  "luminance": 0.78188
}

Semantic roles & 50–950 ramp

primary
#F6E862
secondary
#2F3ECD
accent
#16E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160D
muted
#86857F

Preview Lab

Preview with #F6E862

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

Preview Lab → · Contrast checker → · Palette generator →

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