#F7E26C#F7E26C

#F7E26C is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.7% C 0.140 H 99.4°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#F7E26C
RGBrgb(247, 226, 108)
HSLhsl(51, 90%, 70%)
HSVhsv(51, 56%, 97%)
CMYKcmyk(0%, 8.5%, 56.3%, 3.1%)
CIE-LABlab(89.51, -7.02, 59.26)
CIE-LCHlch(89.51, 59.68, 96.76°)
OKLaboklab(90.72% -0.0227 0.1379)
OKLCHoklch(90.72% 0.14 99.4)
XYZxyz(68.2634, 75.2523, 25.1139)
Luminance0.7525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E26C #6C81F7
analogous
#F79D6C #F7E26C #C7F76C
triadic
#F7E26C #6CF7E2 #E26CF7
tetradic
#F7E26C #6CF79D #6C81F7 #F76CC7
square
#F7E26C #6CF79D #6C81F7 #F76CC7
split-complementary
#F7E26C #6CC7F7 #9D6CF7
monochromatic
#DDBD0C #F4D732 #F7E26C #FAEDA6 #FDF9E0

Accessibility & contrast

On white

1.31
#F7E26C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#F7E26C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E26C
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E26C#FFFFFF#000000##000000
##F7E26C1.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC60
Deuteranopia (green-blind)
#FBE472
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f7e26c;
/* rgb */ color: rgb(247, 226, 108);
/* oklch */ color: oklch(90.7% 0.140 99.4);
Tailwind
colors: {
  custom: {
    50: '#fdea9a',
    500: '#f7e26c',
    950: '#000000',
  },
}
SCSS
$custom: #f7e26c;
$custom-light: #fdea9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e26c",
  "rgb": {
    "r": 247,
    "g": 226,
    "b": 108
  },
  "hsl": {
    "h": 50.935,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90718,
    "c": 0.13974,
    "h": 99.4
  },
  "luminance": 0.7525
}

Semantic roles & 50–950 ramp

primary
#F7E26C
secondary
#364ED1
accent
#23E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E26C

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

Preview Lab → · Contrast checker → · Palette generator →

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