#F7F56B#F7F56B

#F7F56B is a very light, vivid yellow. Relative luminance 0.861; 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#F7F56B
RGBrgb(247, 245, 107)
HSLhsl(59, 90%, 69%)
HSVhsv(59, 57%, 97%)
CMYKcmyk(0%, 0.8%, 56.7%, 3.1%)
CIE-LABlab(94.37, -16.46, 65.19)
CIE-LCHlch(94.37, 67.23, 104.17°)
OKLaboklab(94.58% -0.0498 0.1505)
OKLCHoklch(94.58% 0.158 108.3)
XYZxyz(73.6662, 86.1426, 26.6537)
Luminance0.8614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F56B #6B6DF7
analogous
#F7AF6B #F7F56B #B3F76B
triadic
#F7F56B #6BF7F5 #F56BF7
tetradic
#F7F56B #6BF7AF #6B6DF7 #F76BB3
square
#F7F56B #6BF7AF #6B6DF7 #F76BB3
split-complementary
#F7F56B #6BB3F7 #AF6BF7
monochromatic
#DCD90C #F4F131 #F7F56B #FAF9A5 #FDFDDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7F56B#FFFFFF#000000##000000
##F7F56B1.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)
#FFEC5C
Deuteranopia (green-blind)
#FFF173
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f7f56b;
/* rgb */ color: rgb(247, 245, 107);
/* oklch */ color: oklch(94.6% 0.158 108.3);
Tailwind
colors: {
  custom: {
    50: '#fdf89a',
    500: '#f7f56b',
    950: '#000000',
  },
}
SCSS
$custom: #f7f56b;
$custom-light: #fdf89a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f56b",
  "rgb": {
    "r": 247,
    "g": 245,
    "b": 107
  },
  "hsl": {
    "h": 59.143,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.9458,
    "c": 0.15847,
    "h": 108.3
  },
  "luminance": 0.86141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7F56B

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

Preview Lab → · Contrast checker → · Palette generator →

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