#F6E867#F6E867

#F6E867 is a very light, vivid yellow. Relative luminance 0.783; OKLCH L 91.8% C 0.149 H 103.1°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#F6E867
RGBrgb(246, 232, 103)
HSLhsl(54, 89%, 68%)
HSVhsv(54, 58%, 96%)
CMYKcmyk(0%, 5.7%, 58.1%, 3.5%)
CIE-LABlab(90.91, -10.77, 63.03)
CIE-LCHlch(90.91, 63.95, 99.70°)
OKLaboklab(91.79% -0.0339 0.1454)
OKLCHoklch(91.79% 0.149 103.1)
XYZxyz(69.3133, 78.2879, 24.2893)
Luminance0.7829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E867 #6775F6
analogous
#F6A067 #F6E867 #BCF667
triadic
#F6E867 #67F6E8 #E867F6
tetradic
#F6E867 #67F6A0 #6775F6 #F667BC
square
#F6E867 #67F6A0 #6775F6 #F667BC
split-complementary
#F6E867 #67BCF6 #A067F6
monochromatic
#D6C20D #F3DF2D #F6E867 #F9F1A1 #FDF9DB

Accessibility & contrast

On white

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

On black

16.66
#F6E867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E867
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E867#FFFFFF#000000##000000
##F6E8671.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE159
Deuteranopia (green-blind)
#FFE86E
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f6e867;
/* rgb */ color: rgb(246, 232, 103);
/* oklch */ color: oklch(91.8% 0.149 103.1);
Tailwind
colors: {
  custom: {
    50: '#fcef97',
    500: '#f6e867',
    950: '#000000',
  },
}
SCSS
$custom: #f6e867;
$custom-light: #fcef97;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e867",
  "rgb": {
    "r": 246,
    "g": 232,
    "b": 103
  },
  "hsl": {
    "h": 54.126,
    "s": 88.82,
    "l": 68.431
  },
  "oklch": {
    "l": 0.91794,
    "c": 0.1493,
    "h": 103.1
  },
  "luminance": 0.78285
}

Semantic roles & 50–950 ramp

primary
#F6E867
secondary
#3241CF
accent
#17E500
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F6E867

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

Preview Lab → · Contrast checker → · Palette generator →

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