#F7F356#F7F356

#F7F356 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.0% C 0.172 H 107.9°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#F7F356
RGBrgb(247, 243, 86)
HSLhsl(59, 91%, 65%)
HSVhsv(59, 65%, 97%)
CMYKcmyk(0%, 1.6%, 65.2%, 3.1%)
CIE-LABlab(93.69, -16.81, 72.97)
CIE-LCHlch(93.69, 74.88, 102.97°)
OKLaboklab(93.98% -0.0529 0.1641)
OKLCHoklch(93.98% 0.172 107.9)
XYZxyz(72.0906, 84.5495, 21.3245)
Luminance0.8455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F356 #565AF7
analogous
#F7A256 #F7F356 #ABF756
triadic
#F7F356 #56F7F3 #F356F7
tetradic
#F7F356 #56F7A2 #565AF7 #F756AB
square
#F7F356 #56F7A2 #565AF7 #F756AB
split-complementary
#F7F356 #56ABF7 #A256F7
monochromatic
#C9C40A #F4EF1C #F7F356 #FAF790 #FDFBCB

Accessibility & contrast

On white

1.17
#F7F356 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.91
#F7F356 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F356
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F356#FFFFFF#000000##000000
##F7F3561.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA40
Deuteranopia (green-blind)
#FFF060
Tritanopia (blue-blind)
#FFE4D3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f7f356;
/* rgb */ color: rgb(247, 243, 86);
/* oklch */ color: oklch(94.0% 0.172 107.9);
Tailwind
colors: {
  custom: {
    50: '#fdf68d',
    500: '#f7f356',
    950: '#000000',
  },
}
SCSS
$custom: #f7f356;
$custom-light: #fdf68d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f356",
  "rgb": {
    "r": 247,
    "g": 243,
    "b": 86
  },
  "hsl": {
    "h": 58.509,
    "s": 90.96,
    "l": 65.294
  },
  "oklch": {
    "l": 0.93981,
    "c": 0.17241,
    "h": 107.9
  },
  "luminance": 0.84547
}

Semantic roles & 50–950 ramp

primary
#F7F356
secondary
#2C30C5
accent
#06E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F7F356

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

Preview Lab → · Contrast checker → · Palette generator →

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