#F7E261#F7E261

#F7E261 is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.6% C 0.149 H 100.1°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#F7E261
RGBrgb(247, 226, 97)
HSLhsl(52, 90%, 67%)
HSVhsv(52, 61%, 97%)
CMYKcmyk(0%, 8.5%, 60.7%, 3.1%)
CIE-LABlab(89.41, -7.78, 63.98)
CIE-LCHlch(89.41, 64.46, 96.93°)
OKLaboklab(90.6% -0.0261 0.1466)
OKLCHoklch(90.6% 0.149 100.1)
XYZxyz(67.7145, 75.0328, 22.2229)
Luminance0.7503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E261 #6176F7
analogous
#F79761 #F7E261 #C1F761
triadic
#F7E261 #61F7E2 #E261F7
tetradic
#F7E261 #61F797 #6176F7 #F761C1
square
#F7E261 #61F797 #6176F7 #F761C1
split-complementary
#F7E261 #61C1F7 #9761F7
monochromatic
#D3B70B #F4D727 #F7E261 #FAED9B #FDF7D6

Accessibility & contrast

On white

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

On black

16.01
#F7E261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E261
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E261#FFFFFF#000000##000000
##F7E2611.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC53
Deuteranopia (green-blind)
#FBE468
Tritanopia (blue-blind)
#FFD3C6
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f7e261;
/* rgb */ color: rgb(247, 226, 97);
/* oklch */ color: oklch(90.6% 0.149 100.1);
Tailwind
colors: {
  custom: {
    50: '#fdea93',
    500: '#f7e261',
    950: '#000000',
  },
}
SCSS
$custom: #f7e261;
$custom-light: #fdea93;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e261",
  "rgb": {
    "r": 247,
    "g": 226,
    "b": 97
  },
  "hsl": {
    "h": 51.6,
    "s": 90.361,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90604,
    "c": 0.14895,
    "h": 100.1
  },
  "luminance": 0.7503
}

Semantic roles & 50–950 ramp

primary
#F7E261
secondary
#2E45CE
accent
#20E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F7E261

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

Preview Lab → · Contrast checker → · Palette generator →

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