#F7E995#F7E995

#F7E995 is a very light, moderate yellow. Relative luminance 0.802; OKLCH L 92.7% C 0.105 H 100.0°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#F7E995
RGBrgb(247, 233, 149)
HSLhsl(51, 86%, 78%)
HSVhsv(51, 40%, 97%)
CMYKcmyk(0%, 5.7%, 39.7%, 3.1%)
CIE-LABlab(91.79, -6.86, 42.51)
CIE-LCHlch(91.79, 43.06, 99.17°)
OKLaboklab(92.68% -0.0182 0.1039)
OKLCHoklch(92.68% 0.106 100)
XYZxyz(72.9229, 80.2240, 40.0714)
Luminance0.8022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E995 #95A3F7
analogous
#F7B895 #F7E995 #D4F795
triadic
#F7E995 #95F7E9 #E995F7
tetradic
#F7E995 #95F7B8 #95A3F7 #F795D4
square
#F7E995 #95F7B8 #95A3F7 #F795D4
split-complementary
#F7E995 #95D4F7 #B895F7
monochromatic
#EED123 #F3DD5C #F7E995 #FBF5CE #FDF9E3

Accessibility & contrast

On white

1.23
#F7E995 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.04
#F7E995 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E995
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E995#FFFFFF#000000##000000
##F7E9951.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E48F
Deuteranopia (green-blind)
#FCEA98
Tritanopia (blue-blind)
#FFDED4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f7e995;
/* rgb */ color: rgb(247, 233, 149);
/* oklch */ color: oklch(92.7% 0.105 100.0);
Tailwind
colors: {
  custom: {
    50: '#fbefb5',
    500: '#f7e995',
    950: '#000000',
  },
}
SCSS
$custom: #f7e995;
$custom-light: #fbefb5;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e995",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 149
  },
  "hsl": {
    "h": 51.429,
    "s": 85.965,
    "l": 77.647
  },
  "oklch": {
    "l": 0.92681,
    "c": 0.1055,
    "h": 100
  },
  "luminance": 0.80222
}

Semantic roles & 50–950 ramp

primary
#F7E995
secondary
#5A6CD6
accent
#23E203
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F7E995

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

Preview Lab → · Contrast checker → · Palette generator →

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