#F7E26B#F7E26B

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

Color values

HEX#F7E26B
RGBrgb(247, 226, 107)
HSLhsl(51, 90%, 69%)
HSVhsv(51, 57%, 97%)
CMYKcmyk(0%, 8.5%, 56.7%, 3.1%)
CIE-LABlab(89.50, -7.09, 59.70)
CIE-LCHlch(89.50, 60.12, 96.78°)
OKLaboklab(90.71% -0.023 0.1387)
OKLCHoklch(90.71% 0.141 99.4)
XYZxyz(68.2105, 75.2312, 24.8352)
Luminance0.7523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E26B #6B80F7
analogous
#F79C6B #F7E26B #C6F76B
triadic
#F7E26B #6BF7E2 #E26BF7
tetradic
#F7E26B #6BF79C #6B80F7 #F76BC6
square
#F7E26B #6BF79C #6B80F7 #F76BC6
split-complementary
#F7E26B #6BC6F7 #9C6BF7
monochromatic
#DCBD0C #F4D731 #F7E26B #FAEDA5 #FDF9DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7E26B#FFFFFF#000000##000000
##F7E26B1.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)
#F5DC5F
Deuteranopia (green-blind)
#FBE471
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f7e26b;
/* rgb */ color: rgb(247, 226, 107);
/* oklch */ color: oklch(90.7% 0.141 99.4);
Tailwind
colors: {
  custom: {
    50: '#fdea99',
    500: '#f7e26b',
    950: '#000000',
  },
}
SCSS
$custom: #f7e26b;
$custom-light: #fdea99;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e26b",
  "rgb": {
    "r": 247,
    "g": 226,
    "b": 107
  },
  "hsl": {
    "h": 51,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90707,
    "c": 0.14061,
    "h": 99.4
  },
  "luminance": 0.75228
}

Semantic roles & 50–950 ramp

primary
#F7E26B
secondary
#354DD1
accent
#22E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E26B

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

Preview Lab → · Contrast checker → · Palette generator →

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