#F7E793#F7E793

#F7E793 is a very light, moderate yellow. Relative luminance 0.790; OKLCH L 92.2% C 0.106 H 98.8°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#F7E793
RGBrgb(247, 231, 147)
HSLhsl(50, 86%, 77%)
HSVhsv(50, 40%, 97%)
CMYKcmyk(0%, 6.5%, 40.5%, 3.1%)
CIE-LABlab(91.25, -6.07, 42.82)
CIE-LCHlch(91.25, 43.24, 98.06°)
OKLaboklab(92.25% -0.0161 0.1045)
OKLCHoklch(92.25% 0.106 98.8)
XYZxyz(72.2017, 79.0348, 39.0500)
Luminance0.7903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E793 #93A3F7
analogous
#F7B593 #F7E793 #D5F793
triadic
#F7E793 #93F7E7 #E793F7
tetradic
#F7E793 #93F7B5 #93A3F7 #F793D5
square
#F7E793 #93F7B5 #93A3F7 #F793D5
split-complementary
#F7E793 #93D5F7 #B593F7
monochromatic
#EFCE21 #F3DA5A #F7E793 #FBF4CC #FDF9E3

Accessibility & contrast

On white

1.25
#F7E793 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.81
#F7E793 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E793
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E793#FFFFFF#000000##000000
##F7E7931.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E28D
Deuteranopia (green-blind)
#FBE996
Tritanopia (blue-blind)
#FFDCD2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e793;
/* rgb */ color: rgb(247, 231, 147);
/* oklch */ color: oklch(92.2% 0.106 98.8);
Tailwind
colors: {
  custom: {
    50: '#fbeeb4',
    500: '#f7e793',
    950: '#000000',
  },
}
SCSS
$custom: #f7e793;
$custom-light: #fbeeb4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e793",
  "rgb": {
    "r": 247,
    "g": 231,
    "b": 147
  },
  "hsl": {
    "h": 50.4,
    "s": 86.207,
    "l": 77.255
  },
  "oklch": {
    "l": 0.92248,
    "c": 0.10575,
    "h": 98.8
  },
  "luminance": 0.79033
}

Semantic roles & 50–950 ramp

primary
#F7E793
secondary
#586CD6
accent
#27E303
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F7E793

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

Preview Lab → · Contrast checker → · Palette generator →

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