#F6E271#F6E271

#F6E271 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.7% C 0.135 H 99.4°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#F6E271
RGBrgb(246, 226, 113)
HSLhsl(51, 88%, 70%)
HSVhsv(51, 54%, 96%)
CMYKcmyk(0%, 8.1%, 54.1%, 3.5%)
CIE-LABlab(89.48, -7.05, 56.93)
CIE-LCHlch(89.48, 57.36, 97.06°)
OKLaboklab(90.69% -0.0222 0.1334)
OKLCHoklch(90.69% 0.135 99.4)
XYZxyz(68.1854, 75.1805, 26.5392)
Luminance0.7518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E271 #7185F6
analogous
#F69F71 #F6E271 #C8F671
triadic
#F6E271 #71F6E2 #E271F6
tetradic
#F6E271 #71F69F #7185F6 #F671C8
square
#F6E271 #71F69F #7185F6 #F671C8
split-complementary
#F6E271 #71C8F6 #9F71F6
monochromatic
#DEBF0E #F2D637 #F6E271 #FAEEAB #FDF9E2

Accessibility & contrast

On white

1.31
#F6E271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.04
#F6E271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E271
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E271#FFFFFF#000000##000000
##F6E2711.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD66
Deuteranopia (green-blind)
#FAE476
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f6e271;
/* rgb */ color: rgb(246, 226, 113);
/* oklch */ color: oklch(90.7% 0.135 99.4);
Tailwind
colors: {
  custom: {
    50: '#fcea9d',
    500: '#f6e271',
    950: '#000000',
  },
}
SCSS
$custom: #f6e271;
$custom-light: #fcea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e271",
  "rgb": {
    "r": 246,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 50.977,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90688,
    "c": 0.13522,
    "h": 99.4
  },
  "luminance": 0.75178
}

Semantic roles & 50–950 ramp

primary
#F6E271
secondary
#3B51D0
accent
#23E501
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F6E271

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

Preview Lab → · Contrast checker → · Palette generator →

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