#F7EC93#F7EC93

#F7EC93 is a very light, moderate yellow. Relative luminance 0.819; OKLCH L 93.3% C 0.111 H 102.2°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#F7EC93
RGBrgb(247, 236, 147)
HSLhsl(53, 86%, 77%)
HSVhsv(53, 40%, 97%)
CMYKcmyk(0%, 4.5%, 40.5%, 3.1%)
CIE-LABlab(92.52, -8.57, 44.43)
CIE-LCHlch(92.52, 45.25, 100.91°)
OKLaboklab(93.25% -0.0233 0.1082)
OKLCHoklch(93.25% 0.111 102.2)
XYZxyz(73.6211, 81.8737, 39.5232)
Luminance0.8187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EC93 #939EF7
analogous
#F7BA93 #F7EC93 #D0F793
triadic
#F7EC93 #93F7EC #EC93F7
tetradic
#F7EC93 #93F7BA #939EF7 #F793D0
square
#F7EC93 #93F7BA #939EF7 #F793D0
split-complementary
#F7EC93 #93D0F7 #BA93F7
monochromatic
#EFD821 #F3E25A #F7EC93 #FBF6CC #FDFAE3

Accessibility & contrast

On white

1.21
#F7EC93 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.37
#F7EC93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EC93
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EC93#FFFFFF#000000##000000
##F7EC931.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE68C
Deuteranopia (green-blind)
#FFEC97
Tritanopia (blue-blind)
#FFE1D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f7ec93;
/* rgb */ color: rgb(247, 236, 147);
/* oklch */ color: oklch(93.3% 0.111 102.2);
Tailwind
colors: {
  custom: {
    50: '#fbf2b4',
    500: '#f7ec93',
    950: '#000000',
  },
}
SCSS
$custom: #f7ec93;
$custom-light: #fbf2b4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ec93",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 147
  },
  "hsl": {
    "h": 53.4,
    "s": 86.207,
    "l": 77.255
  },
  "oklch": {
    "l": 0.93253,
    "c": 0.11068,
    "h": 102.2
  },
  "luminance": 0.81872
}

Semantic roles & 50–950 ramp

primary
#F7EC93
secondary
#5866D6
accent
#1BE303
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F7EC93

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

Preview Lab → · Contrast checker → · Palette generator →

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