#F7F56A#F7F56A

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

Color values

HEX#F7F56A
RGBrgb(247, 245, 106)
HSLhsl(59, 90%, 69%)
HSVhsv(59, 57%, 97%)
CMYKcmyk(0%, 0.8%, 57.1%, 3.1%)
CIE-LABlab(94.36, -16.53, 65.60)
CIE-LCHlch(94.36, 67.66, 104.15°)
OKLaboklab(94.57% -0.0501 0.1512)
OKLCHoklch(94.57% 0.159 108.3)
XYZxyz(73.6139, 86.1216, 26.3783)
Luminance0.8612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F56A #6A6CF7
analogous
#F7AF6A #F7F56A #B3F76A
triadic
#F7F56A #6AF7F5 #F56AF7
tetradic
#F7F56A #6AF7AF #6A6CF7 #F76AB3
square
#F7F56A #6AF7AF #6A6CF7 #F76AB3
split-complementary
#F7F56A #6AB3F7 #AF6AF7
monochromatic
#DBD80C #F4F130 #F7F56A #FAF9A4 #FDFDDE

Accessibility & contrast

On white

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

On black

18.22
#F7F56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F56A
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F56A#FFFFFF#000000##000000
##F7F56A1.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f56a;
/* rgb */ color: rgb(247, 245, 106);
/* oklch */ color: oklch(94.6% 0.159 108.3);
Tailwind
colors: {
  custom: {
    50: '#fdf899',
    500: '#f7f56a',
    950: '#000000',
  },
}
SCSS
$custom: #f7f56a;
$custom-light: #fdf899;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f56a",
  "rgb": {
    "r": 247,
    "g": 245,
    "b": 106
  },
  "hsl": {
    "h": 59.149,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.9457,
    "c": 0.1593,
    "h": 108.3
  },
  "luminance": 0.8612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7F56A

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

Preview Lab → · Contrast checker → · Palette generator →

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