#F6E875#F6E875

#F6E875 is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 91.9% C 0.137 H 102.4°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#F6E875
RGBrgb(246, 232, 117)
HSLhsl(53, 88%, 71%)
HSVhsv(53, 52%, 96%)
CMYKcmyk(0%, 5.7%, 52.4%, 3.5%)
CIE-LABlab(91.05, -9.73, 56.93)
CIE-LCHlch(91.05, 57.75, 99.69°)
OKLaboklab(91.95% -0.0294 0.1338)
OKLCHoklch(91.95% 0.137 102.4)
XYZxyz(70.0757, 78.5928, 28.3048)
Luminance0.7859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E875 #7583F6
analogous
#F6A775 #F6E875 #C3F675
triadic
#F6E875 #75F6E8 #E875F6
tetradic
#F6E875 #75F6A7 #7583F6 #F675C3
square
#F6E875 #75F6A7 #7583F6 #F675C3
split-complementary
#F6E875 #75C3F6 #A775F6
monochromatic
#E2CB0F #F2DE3C #F6E875 #FAF2AE #FDFAE2

Accessibility & contrast

On white

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

On black

16.72
#F6E875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E875
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E875#FFFFFF#000000##000000
##F6E8751.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE26A
Deuteranopia (green-blind)
#FEE87A
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f6e875;
/* rgb */ color: rgb(246, 232, 117);
/* oklch */ color: oklch(91.9% 0.137 102.4);
Tailwind
colors: {
  custom: {
    50: '#fcefa0',
    500: '#f6e875',
    950: '#000000',
  },
}
SCSS
$custom: #f6e875;
$custom-light: #fcefa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e875",
  "rgb": {
    "r": 246,
    "g": 232,
    "b": 117
  },
  "hsl": {
    "h": 53.488,
    "s": 87.755,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91949,
    "c": 0.13698,
    "h": 102.4
  },
  "luminance": 0.7859
}

Semantic roles & 50–950 ramp

primary
#F6E875
secondary
#3E4ED1
accent
#1AE401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F6E875

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

Preview Lab → · Contrast checker → · Palette generator →

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