#F7E56A#F7E56A

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

Color values

HEX#F7E56A
RGBrgb(247, 229, 106)
HSLhsl(52, 90%, 69%)
HSVhsv(52, 57%, 97%)
CMYKcmyk(0%, 7.3%, 57.1%, 3.1%)
CIE-LABlab(90.26, -8.67, 61.00)
CIE-LCHlch(90.26, 61.61, 98.08°)
OKLaboklab(91.3% -0.0276 0.1414)
OKLCHoklch(91.3% 0.144 101.1)
XYZxyz(68.9811, 76.8561, 24.8340)
Luminance0.7685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E56A #6A7CF7
analogous
#F79E6A #F7E56A #C3F76A
triadic
#F7E56A #6AF7E5 #E56AF7
tetradic
#F7E56A #6AF79E #6A7CF7 #F76AC3
square
#F7E56A #6AF79E #6A7CF7 #F76AC3
split-complementary
#F7E56A #6AC3F7 #9E6AF7
monochromatic
#DBC00C #F4DB30 #F7E56A #FAEFA4 #FDF9DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7E56A#FFFFFF#000000##000000
##F7E56A1.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)
#F8DF5D
Deuteranopia (green-blind)
#FDE670
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f7e56a;
/* rgb */ color: rgb(247, 229, 106);
/* oklch */ color: oklch(91.3% 0.144 101.1);
Tailwind
colors: {
  custom: {
    50: '#fdec98',
    500: '#f7e56a',
    950: '#000000',
  },
}
SCSS
$custom: #f7e56a;
$custom-light: #fdec98;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e56a",
  "rgb": {
    "r": 247,
    "g": 229,
    "b": 106
  },
  "hsl": {
    "h": 52.34,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.91302,
    "c": 0.14407,
    "h": 101.1
  },
  "luminance": 0.76853
}

Semantic roles & 50–950 ramp

primary
#F7E56A
secondary
#3448D1
accent
#1DE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E56A

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

Preview Lab → · Contrast checker → · Palette generator →

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