#F6E671#F6E671

#F6E671 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.5% C 0.139 H 101.6°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#F6E671
RGBrgb(246, 230, 113)
HSLhsl(53, 88%, 70%)
HSVhsv(53, 54%, 96%)
CMYKcmyk(0%, 6.5%, 54.1%, 3.5%)
CIE-LABlab(90.50, -9.05, 58.11)
CIE-LCHlch(90.50, 58.81, 98.85°)
OKLaboklab(91.5% -0.0279 0.1359)
OKLCHoklch(91.5% 0.139 101.6)
XYZxyz(69.2858, 77.3812, 26.9060)
Luminance0.7738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E671 #7181F6
analogous
#F6A371 #F6E671 #C3F671
triadic
#F6E671 #71F6E6 #E671F6
tetradic
#F6E671 #71F6A3 #7181F6 #F671C3
square
#F6E671 #71F6A3 #7181F6 #F671C3
split-complementary
#F6E671 #71C3F6 #A371F6
monochromatic
#DEC50E #F2DC37 #F6E671 #FAF0AB #FDFAE2

Accessibility & contrast

On white

1.27
#F6E671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#F6E671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E671
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E671#FFFFFF#000000##000000
##F6E6711.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E066
Deuteranopia (green-blind)
#FDE777
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f6e671;
/* rgb */ color: rgb(246, 230, 113);
/* oklch */ color: oklch(91.5% 0.139 101.6);
Tailwind
colors: {
  custom: {
    50: '#fced9d',
    500: '#f6e671',
    950: '#000000',
  },
}
SCSS
$custom: #f6e671;
$custom-light: #fced9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e671",
  "rgb": {
    "r": 246,
    "g": 230,
    "b": 113
  },
  "hsl": {
    "h": 52.782,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91496,
    "c": 0.13879,
    "h": 101.6
  },
  "luminance": 0.77379
}

Semantic roles & 50–950 ramp

primary
#F6E671
secondary
#3B4DD0
accent
#1CE501
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6E671

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

Preview Lab → · Contrast checker → · Palette generator →

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