#F7F26F#F7F26F

#F7F26F is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 94.0% C 0.152 H 107.0°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#F7F26F
RGBrgb(247, 242, 111)
HSLhsl(58, 89%, 70%)
HSVhsv(58, 55%, 97%)
CMYKcmyk(0%, 2%, 55.1%, 3.1%)
CIE-LABlab(93.64, -14.72, 62.63)
CIE-LCHlch(93.64, 64.33, 103.22°)
OKLaboklab(94.01% -0.0444 0.1454)
OKLCHoklch(94.01% 0.152 107)
XYZxyz(72.9813, 84.4283, 27.4877)
Luminance0.8443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F26F #6F74F7
analogous
#F7AE6F #F7F26F #B8F76F
triadic
#F7F26F #6FF7F2 #F26FF7
tetradic
#F7F26F #6FF7AE #6F74F7 #F76FB8
square
#F7F26F #6FF7AE #6F74F7 #F76FB8
split-complementary
#F7F26F #6FB8F7 #AE6FF7
monochromatic
#DFD70C #F4ED35 #F7F26F #FAF7A9 #FDFCE2

Accessibility & contrast

On white

1.17
#F7F26F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.89
#F7F26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F26F
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F26F#FFFFFF#000000##000000
##F7F26F1.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA62
Deuteranopia (green-blind)
#FFEF76
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f7f26f;
/* rgb */ color: rgb(247, 242, 111);
/* oklch */ color: oklch(94.0% 0.152 107.0);
Tailwind
colors: {
  custom: {
    50: '#fcf69c',
    500: '#f7f26f',
    950: '#000000',
  },
}
SCSS
$custom: #f7f26f;
$custom-light: #fcf69c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f26f",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 111
  },
  "hsl": {
    "h": 57.794,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.94005,
    "c": 0.15205,
    "h": 107
  },
  "luminance": 0.84426
}

Semantic roles & 50–950 ramp

primary
#F7F26F
secondary
#393ED1
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F26F

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

Preview Lab → · Contrast checker → · Palette generator →

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