#F7F26E#F7F26E

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

Color values

HEX#F7F26E
RGBrgb(247, 242, 110)
HSLhsl(58, 90%, 70%)
HSVhsv(58, 55%, 97%)
CMYKcmyk(0%, 2%, 55.5%, 3.1%)
CIE-LABlab(93.63, -14.79, 63.05)
CIE-LCHlch(93.63, 64.76, 103.20°)
OKLaboklab(93.99% -0.0447 0.1462)
OKLCHoklch(93.99% 0.153 107)
XYZxyz(72.9265, 84.4064, 27.1994)
Luminance0.8440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F26E #6E73F7
analogous
#F7AD6E #F7F26E #B8F76E
triadic
#F7F26E #6EF7F2 #F26EF7
tetradic
#F7F26E #6EF7AD #6E73F7 #F76EB8
square
#F7F26E #6EF7AD #6E73F7 #F76EB8
split-complementary
#F7F26E #6EB8F7 #AD6EF7
monochromatic
#DED70C #F4ED34 #F7F26E #FAF7A8 #FDFCE2

Accessibility & contrast

On white

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

On black

17.88
#F7F26E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F26E
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F26E#FFFFFF#000000##000000
##F7F26E1.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f26e;
/* rgb */ color: rgb(247, 242, 110);
/* oklch */ color: oklch(94.0% 0.153 107.0);
Tailwind
colors: {
  custom: {
    50: '#fcf69c',
    500: '#f7f26e',
    950: '#000000',
  },
}
SCSS
$custom: #f7f26e;
$custom-light: #fcf69c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f26e",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 110
  },
  "hsl": {
    "h": 57.81,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.93994,
    "c": 0.15292,
    "h": 107
  },
  "luminance": 0.84404
}

Semantic roles & 50–950 ramp

primary
#F7F26E
secondary
#383DD1
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F26E

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

Preview Lab → · Contrast checker → · Palette generator →

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