#F7E56B#F7E56B

#F7E56B is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.3% C 0.143 H 101.0°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#F7E56B
RGBrgb(247, 229, 107)
HSLhsl(52, 90%, 69%)
HSVhsv(52, 57%, 97%)
CMYKcmyk(0%, 7.3%, 56.7%, 3.1%)
CIE-LABlab(90.27, -8.59, 60.57)
CIE-LCHlch(90.27, 61.18, 98.08°)
OKLaboklab(91.31% -0.0273 0.1406)
OKLCHoklch(91.31% 0.143 101)
XYZxyz(69.0334, 76.8770, 25.1095)
Luminance0.7687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E56B #6B7DF7
analogous
#F79F6B #F7E56B #C3F76B
triadic
#F7E56B #6BF7E5 #E56BF7
tetradic
#F7E56B #6BF79F #6B7DF7 #F76BC3
square
#F7E56B #6BF79F #6B7DF7 #F76BC3
split-complementary
#F7E56B #6BC3F7 #9F6BF7
monochromatic
#DCC10C #F4DB31 #F7E56B #FAEFA5 #FDF9DF

Accessibility & contrast

On white

1.28
#F7E56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#F7E56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E56B
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E56B#FFFFFF#000000##000000
##F7E56B1.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF5F
Deuteranopia (green-blind)
#FDE671
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f7e56b;
/* rgb */ color: rgb(247, 229, 107);
/* oklch */ color: oklch(91.3% 0.143 101.0);
Tailwind
colors: {
  custom: {
    50: '#fdec99',
    500: '#f7e56b',
    950: '#000000',
  },
}
SCSS
$custom: #f7e56b;
$custom-light: #fdec99;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e56b",
  "rgb": {
    "r": 247,
    "g": 229,
    "b": 107
  },
  "hsl": {
    "h": 52.286,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91313,
    "c": 0.1432,
    "h": 101
  },
  "luminance": 0.76874
}

Semantic roles & 50–950 ramp

primary
#F7E56B
secondary
#3549D1
accent
#1EE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E56B

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

Preview Lab → · Contrast checker → · Palette generator →

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