#F7F56C#F7F56C

#F7F56C is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.6% C 0.158 H 108.3°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#F7F56C
RGBrgb(247, 245, 108)
HSLhsl(59, 90%, 70%)
HSVhsv(59, 56%, 97%)
CMYKcmyk(0%, 0.8%, 56.3%, 3.1%)
CIE-LABlab(94.38, -16.39, 64.77)
CIE-LCHlch(94.38, 66.81, 104.20°)
OKLaboklab(94.59% -0.0495 0.1497)
OKLCHoklch(94.59% 0.158 108.3)
XYZxyz(73.7191, 86.1637, 26.9324)
Luminance0.8616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F56C #6C6EF7
analogous
#F7B06C #F7F56C #B3F76C
triadic
#F7F56C #6CF7F5 #F56CF7
tetradic
#F7F56C #6CF7B0 #6C6EF7 #F76CB3
square
#F7F56C #6CF7B0 #6C6EF7 #F76CB3
split-complementary
#F7F56C #6CB3F7 #B06CF7
monochromatic
#DDDA0C #F4F132 #F7F56C #FAF9A6 #FDFDE0

Accessibility & contrast

On white

1.15
#F7F56C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.23
#F7F56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F56C
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F56C#FFFFFF#000000##000000
##F7F56C1.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5D
Deuteranopia (green-blind)
#FFF174
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f7f56c;
/* rgb */ color: rgb(247, 245, 108);
/* oklch */ color: oklch(94.6% 0.158 108.3);
Tailwind
colors: {
  custom: {
    50: '#fdf89b',
    500: '#f7f56c',
    950: '#000000',
  },
}
SCSS
$custom: #f7f56c;
$custom-light: #fdf89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f56c",
  "rgb": {
    "r": 247,
    "g": 245,
    "b": 108
  },
  "hsl": {
    "h": 59.137,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.9459,
    "c": 0.15765,
    "h": 108.3
  },
  "luminance": 0.86162
}

Semantic roles & 50–950 ramp

primary
#F7F56C
secondary
#3638D1
accent
#03E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F56C

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

Preview Lab → · Contrast checker → · Palette generator →

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