#F7F26A#F7F26A

#F7F26A is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 94.0% C 0.156 H 107.1°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#F7F26A
RGBrgb(247, 242, 106)
HSLhsl(58, 90%, 69%)
HSVhsv(58, 57%, 97%)
CMYKcmyk(0%, 2%, 57.1%, 3.1%)
CIE-LABlab(93.59, -15.08, 64.74)
CIE-LCHlch(93.59, 66.48, 103.11°)
OKLaboklab(93.95% -0.0459 0.1494)
OKLCHoklch(93.95% 0.156 107.1)
XYZxyz(72.7136, 84.3212, 26.0782)
Luminance0.8432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F26A #6A6FF7
analogous
#F7AC6A #F7F26A #B6F76A
triadic
#F7F26A #6AF7F2 #F26AF7
tetradic
#F7F26A #6AF7AC #6A6FF7 #F76AB6
square
#F7F26A #6AF7AC #6A6FF7 #F76AB6
split-complementary
#F7F26A #6AB6F7 #AC6AF7
monochromatic
#DBD40C #F4ED30 #F7F26A #FAF7A4 #FDFCDE

Accessibility & contrast

On white

1.18
#F7F26A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.86
#F7F26A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F26A
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F26A#FFFFFF#000000##000000
##F7F26A1.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f26a;
/* rgb */ color: rgb(247, 242, 106);
/* oklch */ color: oklch(94.0% 0.156 107.1);
Tailwind
colors: {
  custom: {
    50: '#fdf699',
    500: '#f7f26a',
    950: '#000000',
  },
}
SCSS
$custom: #f7f26a;
$custom-light: #fdf699;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f26a",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 106
  },
  "hsl": {
    "h": 57.872,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.93953,
    "c": 0.15629,
    "h": 107.1
  },
  "luminance": 0.84319
}

Semantic roles & 50–950 ramp

primary
#F7F26A
secondary
#343AD1
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F26A

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

Preview Lab → · Contrast checker → · Palette generator →

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