#F7E77A#F7E77A

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

Color values

HEX#F7E77A
RGBrgb(247, 231, 122)
HSLhsl(52, 89%, 72%)
HSVhsv(52, 51%, 97%)
CMYKcmyk(0%, 6.5%, 50.6%, 3.1%)
CIE-LABlab(90.93, -8.42, 54.49)
CIE-LCHlch(90.93, 55.13, 98.78°)
OKLaboklab(91.89% -0.0252 0.1289)
OKLCHoklch(91.89% 0.131 101.1)
XYZxyz(70.4487, 78.3336, 29.8175)
Luminance0.7833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E77A #7A8AF7
analogous
#F7A97A #F7E77A #C9F77A
triadic
#F7E77A #7AF7E7 #E77AF7
tetradic
#F7E77A #7AF7A9 #7A8AF7 #F77AC9
square
#F7E77A #7AF7A9 #7A8AF7 #F77AC9
split-complementary
#F7E77A #7AC9F7 #A97AF7
monochromatic
#E9CD0E #F4DD40 #F7E77A #FAF1B4 #FDFAE2

Accessibility & contrast

On white

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

On black

16.67
#F7E77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E77A
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E77A#FFFFFF#000000##000000
##F7E77A1.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e77a;
/* rgb */ color: rgb(247, 231, 122);
/* oklch */ color: oklch(91.9% 0.131 101.1);
Tailwind
colors: {
  custom: {
    50: '#fceea3',
    500: '#f7e77a',
    950: '#000000',
  },
}
SCSS
$custom: #f7e77a;
$custom-light: #fceea3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e77a",
  "rgb": {
    "r": 247,
    "g": 231,
    "b": 122
  },
  "hsl": {
    "h": 52.32,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.91893,
    "c": 0.13135,
    "h": 101.1
  },
  "luminance": 0.78331
}

Semantic roles & 50–950 ramp

primary
#F7E77A
secondary
#4255D3
accent
#1EE500
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E77A

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

Preview Lab → · Contrast checker → · Palette generator →

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