#F6E772#F6E772

#F6E772 is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.7% C 0.139 H 102.1°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#F6E772
RGBrgb(246, 231, 114)
HSLhsl(53, 88%, 71%)
HSVhsv(53, 54%, 96%)
CMYKcmyk(0%, 6.1%, 53.7%, 3.5%)
CIE-LABlab(90.76, -9.47, 57.96)
CIE-LCHlch(90.76, 58.73, 99.27°)
OKLaboklab(91.71% -0.029 0.1357)
OKLCHoklch(91.71% 0.139 102.1)
XYZxyz(69.6214, 77.9620, 27.2972)
Luminance0.7796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E772 #7281F6
analogous
#F6A572 #F6E772 #C3F672
triadic
#F6E772 #72F6E7 #E772F6
tetradic
#F6E772 #72F6A5 #7281F6 #F672C3
square
#F6E772 #72F6A5 #7281F6 #F672C3
split-complementary
#F6E772 #72C3F6 #A572F6
monochromatic
#DFC80E #F2DD38 #F6E772 #FAF1AC #FDFAE2

Accessibility & contrast

On white

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

On black

16.59
#F6E772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E772
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E772#FFFFFF#000000##000000
##F6E7721.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E167
Deuteranopia (green-blind)
#FEE878
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f6e772;
/* rgb */ color: rgb(246, 231, 114);
/* oklch */ color: oklch(91.7% 0.139 102.1);
Tailwind
colors: {
  custom: {
    50: '#fcee9e',
    500: '#f6e772',
    950: '#000000',
  },
}
SCSS
$custom: #f6e772;
$custom-light: #fcee9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e772",
  "rgb": {
    "r": 246,
    "g": 231,
    "b": 114
  },
  "hsl": {
    "h": 53.182,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91711,
    "c": 0.1388,
    "h": 102.1
  },
  "luminance": 0.7796
}

Semantic roles & 50–950 ramp

primary
#F6E772
secondary
#3C4DD1
accent
#1BE501
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E772

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

Preview Lab → · Contrast checker → · Palette generator →

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