#F7E76F#F7E76F

#F7E76F is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.8% C 0.141 H 101.8°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#F7E76F
RGBrgb(247, 231, 111)
HSLhsl(53, 89%, 70%)
HSVhsv(53, 55%, 97%)
CMYKcmyk(0%, 6.5%, 55.1%, 3.1%)
CIE-LABlab(90.81, -9.29, 59.40)
CIE-LCHlch(90.81, 60.13, 98.89°)
OKLaboklab(91.76% -0.0289 0.1385)
OKLCHoklch(91.76% 0.141 101.8)
XYZxyz(69.8053, 78.0762, 26.4290)
Luminance0.7807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E76F #6F7FF7
analogous
#F7A36F #F7E76F #C3F76F
triadic
#F7E76F #6FF7E7 #E76FF7
tetradic
#F7E76F #6FF7A3 #6F7FF7 #F76FC3
square
#F7E76F #6FF7A3 #6F7FF7 #F76FC3
split-complementary
#F7E76F #6FC3F7 #A36FF7
monochromatic
#DFC60C #F4DD35 #F7E76F #FAF1A9 #FDFAE2

Accessibility & contrast

On white

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

On black

16.61
#F7E76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E76F
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E76F#FFFFFF#000000##000000
##F7E76F1.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E163
Deuteranopia (green-blind)
#FEE875
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f7e76f;
/* rgb */ color: rgb(247, 231, 111);
/* oklch */ color: oklch(91.8% 0.141 101.8);
Tailwind
colors: {
  custom: {
    50: '#fcee9c',
    500: '#f7e76f',
    950: '#000000',
  },
}
SCSS
$custom: #f7e76f;
$custom-light: #fcee9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e76f",
  "rgb": {
    "r": 247,
    "g": 231,
    "b": 111
  },
  "hsl": {
    "h": 52.941,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91762,
    "c": 0.14149,
    "h": 101.8
  },
  "luminance": 0.78074
}

Semantic roles & 50–950 ramp

primary
#F7E76F
secondary
#394BD1
accent
#1BE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E76F

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

Preview Lab → · Contrast checker → · Palette generator →

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