#F7F26B#F7F26B

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

Color values

HEX#F7F26B
RGBrgb(247, 242, 107)
HSLhsl(58, 90%, 69%)
HSVhsv(58, 57%, 97%)
CMYKcmyk(0%, 2%, 56.7%, 3.1%)
CIE-LABlab(93.60, -15.01, 64.32)
CIE-LCHlch(93.60, 66.05, 103.13°)
OKLaboklab(93.96% -0.0456 0.1486)
OKLCHoklch(93.96% 0.155 107.1)
XYZxyz(72.7659, 84.3421, 26.3537)
Luminance0.8434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F26B #6B70F7
analogous
#F7AC6B #F7F26B #B6F76B
triadic
#F7F26B #6BF7F2 #F26BF7
tetradic
#F7F26B #6BF7AC #6B70F7 #F76BB6
square
#F7F26B #6BF7AC #6B70F7 #F76BB6
split-complementary
#F7F26B #6BB6F7 #AC6BF7
monochromatic
#DCD40C #F4ED31 #F7F26B #FAF7A5 #FDFCDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7F26B#FFFFFF#000000##000000
##F7F26B1.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)
#FFEA5D
Deuteranopia (green-blind)
#FFEF72
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f7f26b;
/* rgb */ color: rgb(247, 242, 107);
/* oklch */ color: oklch(94.0% 0.155 107.1);
Tailwind
colors: {
  custom: {
    50: '#fdf69a',
    500: '#f7f26b',
    950: '#000000',
  },
}
SCSS
$custom: #f7f26b;
$custom-light: #fdf69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f26b",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 107
  },
  "hsl": {
    "h": 57.857,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.93963,
    "c": 0.15546,
    "h": 107.1
  },
  "luminance": 0.8434
}

Semantic roles & 50–950 ramp

primary
#F7F26B
secondary
#353BD1
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F26B

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

Preview Lab → · Contrast checker → · Palette generator →

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