#F7E593#F7E593

#F7E593 is a very light, moderate yellow. Relative luminance 0.779; OKLCH L 91.8% C 0.104 H 97.3°. Best body text is #000000 at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#F7E593
RGBrgb(247, 229, 147)
HSLhsl(49, 86%, 77%)
HSVhsv(49, 40%, 97%)
CMYKcmyk(0%, 7.3%, 40.5%, 3.1%)
CIE-LABlab(90.74, -5.06, 42.17)
CIE-LCHlch(90.74, 42.47, 96.84°)
OKLaboklab(91.85% -0.0132 0.103)
OKLCHoklch(91.85% 0.104 97.3)
XYZxyz(71.6451, 77.9217, 38.8645)
Luminance0.7792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E593 #93A5F7
analogous
#F7B393 #F7E593 #D7F793
triadic
#F7E593 #93F7E5 #E593F7
tetradic
#F7E593 #93F7B3 #93A5F7 #F793D7
square
#F7E593 #93F7B3 #93A5F7 #F793D7
split-complementary
#F7E593 #93D7F7 #B393F7
monochromatic
#EFCA21 #F3D75A #F7E593 #FBF3CC #FDF8E3

Accessibility & contrast

On white

1.27
#F7E593 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.58
#F7E593 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E593
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E593#FFFFFF#000000##000000
##F7E5931.001.2716.5816.58
#FFFFFF1.271.0021.0021.00
#00000016.5821.001.001.00
##00000016.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E18D
Deuteranopia (green-blind)
#F9E796
Tritanopia (blue-blind)
#FFDAD1
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f7e593;
/* rgb */ color: rgb(247, 229, 147);
/* oklch */ color: oklch(91.8% 0.104 97.3);
Tailwind
colors: {
  custom: {
    50: '#fbedb4',
    500: '#f7e593',
    950: '#000000',
  },
}
SCSS
$custom: #f7e593;
$custom-light: #fbedb4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e593",
  "rgb": {
    "r": 247,
    "g": 229,
    "b": 147
  },
  "hsl": {
    "h": 49.2,
    "s": 86.207,
    "l": 77.255
  },
  "oklch": {
    "l": 0.91848,
    "c": 0.10388,
    "h": 97.3
  },
  "luminance": 0.77919
}

Semantic roles & 50–950 ramp

primary
#F7E593
secondary
#586FD6
accent
#2BE303
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#181611
muted
#868481

Preview Lab

Preview with #F7E593

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

Preview Lab → · Contrast checker → · Palette generator →

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