#F7E795#F7E795

#F7E795 is a very light, moderate yellow. Relative luminance 0.791; OKLCH L 92.3% C 0.104 H 98.5°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#F7E795
RGBrgb(247, 231, 149)
HSLhsl(50, 86%, 78%)
HSVhsv(50, 40%, 97%)
CMYKcmyk(0%, 6.5%, 39.7%, 3.1%)
CIE-LABlab(91.28, -5.86, 41.86)
CIE-LCHlch(91.28, 42.27, 97.96°)
OKLaboklab(92.28% -0.0153 0.1024)
OKLCHoklch(92.28% 0.104 98.5)
XYZxyz(72.3600, 79.0981, 39.8837)
Luminance0.7910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E795 #95A5F7
analogous
#F7B695 #F7E795 #D6F795
triadic
#F7E795 #95F7E7 #E795F7
tetradic
#F7E795 #95F7B6 #95A5F7 #F795D6
square
#F7E795 #95F7B6 #95A5F7 #F795D6
split-complementary
#F7E795 #95D6F7 #B695F7
monochromatic
#EECD23 #F3DA5C #F7E795 #FBF4CE #FDF9E3

Accessibility & contrast

On white

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

On black

16.82
#F7E795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E795
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E795#FFFFFF#000000##000000
##F7E7951.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E38F
Deuteranopia (green-blind)
#FBE998
Tritanopia (blue-blind)
#FFDCD3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e795;
/* rgb */ color: rgb(247, 231, 149);
/* oklch */ color: oklch(92.3% 0.104 98.5);
Tailwind
colors: {
  custom: {
    50: '#fbeeb5',
    500: '#f7e795',
    950: '#000000',
  },
}
SCSS
$custom: #f7e795;
$custom-light: #fbeeb5;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e795",
  "rgb": {
    "r": 247,
    "g": 231,
    "b": 149
  },
  "hsl": {
    "h": 50.204,
    "s": 85.965,
    "l": 77.647
  },
  "oklch": {
    "l": 0.9228,
    "c": 0.10357,
    "h": 98.5
  },
  "luminance": 0.79096
}

Semantic roles & 50–950 ramp

primary
#F7E795
secondary
#5A6ED6
accent
#28E203
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F7E795

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

Preview Lab → · Contrast checker → · Palette generator →

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