#F6E77B#F6E77B

#F6E77B is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.8% C 0.130 H 101.5°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#F6E77B
RGBrgb(246, 231, 123)
HSLhsl(53, 87%, 72%)
HSVhsv(53, 50%, 96%)
CMYKcmyk(0%, 6.1%, 50%, 3.5%)
CIE-LABlab(90.86, -8.73, 53.91)
CIE-LCHlch(90.86, 54.62, 99.20°)
OKLaboklab(91.82% -0.0259 0.1278)
OKLCHoklch(91.82% 0.13 101.5)
XYZxyz(70.1592, 78.1771, 30.1291)
Luminance0.7817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E77B #7B8AF6
analogous
#F6AA7B #F6E77B #C7F67B
triadic
#F6E77B #7BF6E7 #E77BF6
tetradic
#F6E77B #7BF6AA #7B8AF6 #F67BC7
square
#F6E77B #7BF6AA #7B8AF6 #F67BC7
split-complementary
#F6E77B #7BC7F6 #AA7BF6
monochromatic
#E7CD10 #F2DD42 #F6E77B #FAF1B4 #FDFAE2

Accessibility & contrast

On white

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

On black

16.63
#F6E77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E77B
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E77B#FFFFFF#000000##000000
##F6E77B1.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E171
Deuteranopia (green-blind)
#FDE880
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f6e77b;
/* rgb */ color: rgb(246, 231, 123);
/* oklch */ color: oklch(91.8% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#fbeea3',
    500: '#f6e77b',
    950: '#000000',
  },
}
SCSS
$custom: #f6e77b;
$custom-light: #fbeea3;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e77b",
  "rgb": {
    "r": 246,
    "g": 231,
    "b": 123
  },
  "hsl": {
    "h": 52.683,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.9182,
    "c": 0.13036,
    "h": 101.5
  },
  "luminance": 0.78175
}

Semantic roles & 50–950 ramp

primary
#F6E77B
secondary
#4455D2
accent
#1DE402
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E77B

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

Preview Lab → · Contrast checker → · Palette generator →

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