#F7F076#F7F076

#F7F076 is a very light, vivid yellow. Relative luminance 0.834; OKLCH L 93.7% C 0.144 H 105.9°. Best body text is #000000 at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#F7F076
RGBrgb(247, 240, 118)
HSLhsl(57, 89%, 72%)
HSVhsv(57, 52%, 97%)
CMYKcmyk(0%, 2.8%, 52.2%, 3.1%)
CIE-LABlab(93.19, -13.20, 58.99)
CIE-LCHlch(93.19, 60.45, 102.61°)
OKLaboklab(93.67% -0.0393 0.1383)
OKLCHoklch(93.67% 0.144 105.9)
XYZxyz(72.7899, 83.4045, 29.4004)
Luminance0.8340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F076 #767DF7
analogous
#F7B076 #F7F076 #BEF776
triadic
#F7F076 #76F7F0 #F076F7
tetradic
#F7F076 #76F7B0 #767DF7 #F776BE
square
#F7F076 #76F7B0 #767DF7 #F776BE
split-complementary
#F7F076 #76BEF7 #B076F7
monochromatic
#E5DA0D #F4EA3C #F7F076 #FAF6B0 #FDFCE2

Accessibility & contrast

On white

1.19
#F7F076 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.68
#F7F076 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F076
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F076#FFFFFF#000000##000000
##F7F0761.001.1917.6817.68
#FFFFFF1.191.0021.0021.00
#00000017.6821.001.001.00
##00000017.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86A
Deuteranopia (green-blind)
#FFEE7C
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f7f076;
/* rgb */ color: rgb(247, 240, 118);
/* oklch */ color: oklch(93.7% 0.144 105.9);
Tailwind
colors: {
  custom: {
    50: '#fcf4a1',
    500: '#f7f076',
    950: '#000000',
  },
}
SCSS
$custom: #f7f076;
$custom-light: #fcf4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f076",
  "rgb": {
    "r": 247,
    "g": 240,
    "b": 118
  },
  "hsl": {
    "h": 56.744,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93673,
    "c": 0.14382,
    "h": 105.9
  },
  "luminance": 0.83402
}

Semantic roles & 50–950 ramp

primary
#F7F076
secondary
#3F47D2
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F076

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

Preview Lab → · Contrast checker → · Palette generator →

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