#F6E77F#F6E77F

#F6E77F is a very light, vivid yellow. Relative luminance 0.783; OKLCH L 91.9% C 0.126 H 101.2°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#F6E77F
RGBrgb(246, 231, 127)
HSLhsl(52, 87%, 73%)
HSVhsv(52, 48%, 96%)
CMYKcmyk(0%, 6.1%, 48.4%, 3.5%)
CIE-LABlab(90.91, -8.38, 52.08)
CIE-LCHlch(90.91, 52.75, 99.14°)
OKLaboklab(91.87% -0.0245 0.1241)
OKLCHoklch(91.87% 0.126 101.2)
XYZxyz(70.4147, 78.2793, 31.4748)
Luminance0.7828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E77F #7F8EF6
analogous
#F6AB7F #F6E77F #C9F67F
triadic
#F6E77F #7FF6E7 #E77FF6
tetradic
#F6E77F #7FF6AB #7F8EF6 #F67FC9
square
#F6E77F #7FF6AB #7F8EF6 #F67FC9
split-complementary
#F6E77F #7FC9F6 #AB7FF6
monochromatic
#EACF10 #F2DC46 #F6E77F #FAF2B8 #FDFAE2

Accessibility & contrast

On white

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

On black

16.66
#F6E77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E77F
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E77F#FFFFFF#000000##000000
##F6E77F1.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E176
Deuteranopia (green-blind)
#FDE884
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f6e77f;
/* rgb */ color: rgb(246, 231, 127);
/* oklch */ color: oklch(91.9% 0.126 101.2);
Tailwind
colors: {
  custom: {
    50: '#fbeea6',
    500: '#f6e77f',
    950: '#000000',
  },
}
SCSS
$custom: #f6e77f;
$custom-light: #fbeea6;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e77f",
  "rgb": {
    "r": 246,
    "g": 231,
    "b": 127
  },
  "hsl": {
    "h": 52.437,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.91872,
    "c": 0.12646,
    "h": 101.2
  },
  "luminance": 0.78277
}

Semantic roles & 50–950 ramp

primary
#F6E77F
secondary
#4759D2
accent
#1EE302
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E77F

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

Preview Lab → · Contrast checker → · Palette generator →

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