#F6E371#F6E371

#F6E371 is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.9% C 0.136 H 100.0°. Best body text is #000000 at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#F6E371
RGBrgb(246, 227, 113)
HSLhsl(51, 88%, 70%)
HSVhsv(51, 54%, 96%)
CMYKcmyk(0%, 7.7%, 54.1%, 3.5%)
CIE-LABlab(89.73, -7.55, 57.22)
CIE-LCHlch(89.73, 57.72, 97.51°)
OKLaboklab(90.89% -0.0236 0.134)
OKLCHoklch(90.89% 0.136 100)
XYZxyz(68.4581, 75.7259, 26.6301)
Luminance0.7572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E371 #7184F6
analogous
#F6A171 #F6E371 #C6F671
triadic
#F6E371 #71F6E3 #E371F6
tetradic
#F6E371 #71F6A1 #7184F6 #F671C6
square
#F6E371 #71F6A1 #7184F6 #F671C6
split-complementary
#F6E371 #71C6F6 #A171F6
monochromatic
#DEC10E #F2D837 #F6E371 #FAEEAB #FDF9E2

Accessibility & contrast

On white

1.30
#F6E371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.14
#F6E371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E371
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E371#FFFFFF#000000##000000
##F6E3711.001.3016.1416.14
#FFFFFF1.301.0021.0021.00
#00000016.1421.001.001.00
##00000016.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD66
Deuteranopia (green-blind)
#FBE576
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f6e371;
/* rgb */ color: rgb(246, 227, 113);
/* oklch */ color: oklch(90.9% 0.136 100.0);
Tailwind
colors: {
  custom: {
    50: '#fceb9d',
    500: '#f6e371',
    950: '#000000',
  },
}
SCSS
$custom: #f6e371;
$custom-light: #fceb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e371",
  "rgb": {
    "r": 246,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 51.429,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.9089,
    "c": 0.13609,
    "h": 100
  },
  "luminance": 0.75723
}

Semantic roles & 50–950 ramp

primary
#F6E371
secondary
#3B50D0
accent
#21E501
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6E371

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

Preview Lab → · Contrast checker → · Palette generator →

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