#F7F56F#F7F56F

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

Color values

HEX#F7F56F
RGBrgb(247, 245, 111)
HSLhsl(59, 89%, 70%)
HSVhsv(59, 55%, 97%)
CMYKcmyk(0%, 0.8%, 55.1%, 3.1%)
CIE-LABlab(94.41, -16.18, 63.50)
CIE-LCHlch(94.41, 65.53, 104.29°)
OKLaboklab(94.62% -0.0486 0.1473)
OKLCHoklch(94.62% 0.155 108.2)
XYZxyz(73.8815, 86.2287, 27.7878)
Luminance0.8623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F56F #6F71F7
analogous
#F7B16F #F7F56F #B5F76F
triadic
#F7F56F #6FF7F5 #F56FF7
tetradic
#F7F56F #6FF7B1 #6F71F7 #F76FB5
square
#F7F56F #6FF7B1 #6F71F7 #F76FB5
split-complementary
#F7F56F #6FB5F7 #B16FF7
monochromatic
#DFDC0C #F4F135 #F7F56F #FAF9A9 #FDFDE2

Accessibility & contrast

On white

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

On black

18.25
#F7F56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F56F
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F56F#FFFFFF#000000##000000
##F7F56F1.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC61
Deuteranopia (green-blind)
#FFF176
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f7f56f;
/* rgb */ color: rgb(247, 245, 111);
/* oklch */ color: oklch(94.6% 0.155 108.2);
Tailwind
colors: {
  custom: {
    50: '#fcf89c',
    500: '#f7f56f',
    950: '#000000',
  },
}
SCSS
$custom: #f7f56f;
$custom-light: #fcf89c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f56f",
  "rgb": {
    "r": 247,
    "g": 245,
    "b": 111
  },
  "hsl": {
    "h": 59.118,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.94621,
    "c": 0.1551,
    "h": 108.2
  },
  "luminance": 0.86227
}

Semantic roles & 50–950 ramp

primary
#F7F56F
secondary
#393BD1
accent
#03E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F56F

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

Preview Lab → · Contrast checker → · Palette generator →

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