#F7EC7A#F7EC7A

#F7EC7A is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.9% C 0.136 H 103.7°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#F7EC7A
RGBrgb(247, 236, 122)
HSLhsl(55, 89%, 72%)
HSVhsv(55, 51%, 97%)
CMYKcmyk(0%, 4.5%, 50.6%, 3.1%)
CIE-LABlab(92.21, -10.90, 56.01)
CIE-LCHlch(92.21, 57.06, 101.01°)
OKLaboklab(92.91% -0.0323 0.1322)
OKLCHoklch(92.91% 0.136 103.7)
XYZxyz(71.8681, 81.1725, 30.2907)
Luminance0.8117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EC7A #7A85F7
analogous
#F7AE7A #F7EC7A #C4F77A
triadic
#F7EC7A #7AF7EC #EC7AF7
tetradic
#F7EC7A #7AF7AE #7A85F7 #F77AC4
square
#F7EC7A #7AF7AE #7A85F7 #F77AC4
split-complementary
#F7EC7A #7AC4F7 #AE7AF7
monochromatic
#E9D50E #F4E440 #F7EC7A #FAF4B4 #FDFBE2

Accessibility & contrast

On white

1.22
#F7EC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.23
#F7EC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EC7A
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EC7A#FFFFFF#000000##000000
##F7EC7A1.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE570
Deuteranopia (green-blind)
#FFEB7F
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f7ec7a;
/* rgb */ color: rgb(247, 236, 122);
/* oklch */ color: oklch(92.9% 0.136 103.7);
Tailwind
colors: {
  custom: {
    50: '#fcf1a3',
    500: '#f7ec7a',
    950: '#000000',
  },
}
SCSS
$custom: #f7ec7a;
$custom-light: #fcf1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ec7a",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 122
  },
  "hsl": {
    "h": 54.72,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92906,
    "c": 0.13612,
    "h": 103.7
  },
  "luminance": 0.8117
}

Semantic roles & 50–950 ramp

primary
#F7EC7A
secondary
#424FD3
accent
#14E500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F7EC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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