Banana (survey)#FFFF7E

#FFFF7E is a very light, vivid yellow. Relative luminance 0.943; OKLCH L 97.5% C 0.151 H 108.9°. Best body text is #000000 at 19.86:1 contrast (WCAG AA passes).

Banana (survey) — editorial page

Color values

HEX#FFFF7E
RGBrgb(255, 255, 126)
HSLhsl(60, 100%, 75%)
HSVhsv(60, 51%, 100%)
CMYKcmyk(0%, 0%, 50.6%, 0%)
CIE-LABlab(97.75, -16.70, 60.86)
CIE-LCHlch(97.75, 63.11, 105.35°)
OKLaboklab(97.48% -0.049 0.143)
OKLCHoklch(97.48% 0.151 108.9)
XYZxyz(80.7678, 94.2883, 33.6794)
Luminance0.9429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF7E #7E7EFF
analogous
#FFBF7E #FFFF7E #BFFF7E
triadic
#FFFF7E #7EFFFF #FF7EFF
tetradic
#FFFF7E #7EFFBF #7E7EFF #FF7EBF
square
#FFFF7E #7EFFBF #7E7EFF #FF7EBF
split-complementary
#FFFF7E #7EBFFF #BF7EFF
monochromatic
#FFFF04 #FFFF41 #FFFF7E #FFFFBB #FFFFE0

Accessibility & contrast

On white

1.06
#FFFF7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.86
#FFFF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF7E
19.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF7E#FFFFFF#000000##000000
##FFFF7E1.001.0619.8619.86
#FFFFFF1.061.0021.0021.00
#00000019.8621.001.001.00
##00000019.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF672
Deuteranopia (green-blind)
#FFFB85
Tritanopia (blue-blind)
#FFF1E2
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #ffff7e;
/* rgb */ color: rgb(255, 255, 126);
/* oklch */ color: oklch(97.5% 0.151 108.9);
Tailwind
colors: {
  custom: {
    50: '#ffffa7',
    500: '#ffff7e',
    950: '#000000',
  },
}
SCSS
$custom: #ffff7e;
$custom-light: #ffffa7;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff7e",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 126
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.97479,
    "c": 0.15117,
    "h": 108.9
  },
  "luminance": 0.94286
}

Semantic roles & 50–950 ramp

primary
#FFFF7E
secondary
#4343DE
accent
#00E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFFF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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