#F7E76B#F7E76B

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

Color values

HEX#F7E76B
RGBrgb(247, 231, 107)
HSLhsl(53, 90%, 69%)
HSVhsv(53, 57%, 97%)
CMYKcmyk(0%, 6.5%, 56.7%, 3.1%)
CIE-LABlab(90.78, -9.59, 61.15)
CIE-LCHlch(90.78, 61.89, 98.91°)
OKLaboklab(91.72% -0.0302 0.1418)
OKLCHoklch(91.72% 0.145 102)
XYZxyz(69.5899, 77.9901, 25.2950)
Luminance0.7799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E76B #6B7BF7
analogous
#F7A16B #F7E76B #C1F76B
triadic
#F7E76B #6BF7E7 #E76BF7
tetradic
#F7E76B #6BF7A1 #6B7BF7 #F76BC1
square
#F7E76B #6BF7A1 #6B7BF7 #F76BC1
split-complementary
#F7E76B #6BC1F7 #A16BF7
monochromatic
#DCC40C #F4DE31 #F7E76B #FAF0A5 #FDFADF

Accessibility & contrast

On white

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

On black

16.60
#F7E76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E76B
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E76B#FFFFFF#000000##000000
##F7E76B1.001.2716.6016.60
#FFFFFF1.271.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e76b;
/* rgb */ color: rgb(247, 231, 107);
/* oklch */ color: oklch(91.7% 0.145 102.0);
Tailwind
colors: {
  custom: {
    50: '#fdee99',
    500: '#f7e76b',
    950: '#000000',
  },
}
SCSS
$custom: #f7e76b;
$custom-light: #fdee99;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e76b",
  "rgb": {
    "r": 247,
    "g": 231,
    "b": 107
  },
  "hsl": {
    "h": 53.143,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91718,
    "c": 0.14499,
    "h": 102
  },
  "luminance": 0.77988
}

Semantic roles & 50–950 ramp

primary
#F7E76B
secondary
#3547D1
accent
#1AE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E76B

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

Preview Lab → · Contrast checker → · Palette generator →

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