#F7F26C#F7F26C

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

Color values

HEX#F7F26C
RGBrgb(247, 242, 108)
HSLhsl(58, 90%, 70%)
HSVhsv(58, 56%, 97%)
CMYKcmyk(0%, 2%, 56.3%, 3.1%)
CIE-LABlab(93.61, -14.93, 63.90)
CIE-LCHlch(93.61, 65.62, 103.15°)
OKLaboklab(93.97% -0.0453 0.1478)
OKLCHoklch(93.97% 0.155 107)
XYZxyz(72.8189, 84.3633, 26.6323)
Luminance0.8436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F26C #6C71F7
analogous
#F7AD6C #F7F26C #B6F76C
triadic
#F7F26C #6CF7F2 #F26CF7
tetradic
#F7F26C #6CF7AD #6C71F7 #F76CB6
square
#F7F26C #6CF7AD #6C71F7 #F76CB6
split-complementary
#F7F26C #6CB6F7 #AD6CF7
monochromatic
#DDD50C #F4ED32 #F7F26C #FAF7A6 #FDFCE0

Accessibility & contrast

On white

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

On black

17.87
#F7F26C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F26C
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F26C#FFFFFF#000000##000000
##F7F26C1.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f26c;
/* rgb */ color: rgb(247, 242, 108);
/* oklch */ color: oklch(94.0% 0.155 107.0);
Tailwind
colors: {
  custom: {
    50: '#fdf69a',
    500: '#f7f26c',
    950: '#000000',
  },
}
SCSS
$custom: #f7f26c;
$custom-light: #fdf69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f26c",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 108
  },
  "hsl": {
    "h": 57.842,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93973,
    "c": 0.15461,
    "h": 107
  },
  "luminance": 0.84361
}

Semantic roles & 50–950 ramp

primary
#F7F26C
secondary
#363CD1
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F26C

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

Preview Lab → · Contrast checker → · Palette generator →

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