#F4E795#F4E795

#F4E795 is a very light, moderate yellow. Relative luminance 0.786; OKLCH L 92.0% C 0.103 H 100.4°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#F4E795
RGBrgb(244, 231, 149)
HSLhsl(52, 81%, 77%)
HSVhsv(52, 39%, 96%)
CMYKcmyk(0%, 5.3%, 38.9%, 4.3%)
CIE-LABlab(91.03, -7.02, 41.50)
CIE-LCHlch(91.03, 42.09, 99.60°)
OKLaboklab(92.03% -0.0186 0.1016)
OKLCHoklch(92.03% 0.103 100.4)
XYZxyz(71.3103, 78.5569, 39.8345)
Luminance0.7855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E795 #95A2F4
analogous
#F4B795 #F4E795 #D2F495
triadic
#F4E795 #95F4E7 #E795F4
tetradic
#F4E795 #95F4B7 #95A2F4 #F495D2
square
#F4E795 #95F4B7 #95A2F4 #F495D2
split-complementary
#F4E795 #95D2F4 #B795F4
monochromatic
#E8CE26 #EEDA5E #F4E795 #FAF4CC #FCF9E3

Accessibility & contrast

On white

1.26
#F4E795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#F4E795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E795
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E795#FFFFFF#000000##000000
##F4E7951.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E28F
Deuteranopia (green-blind)
#F9E898
Tritanopia (blue-blind)
#FFDCD3
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f4e795;
/* rgb */ color: rgb(244, 231, 149);
/* oklch */ color: oklch(92.0% 0.103 100.4);
Tailwind
colors: {
  custom: {
    50: '#f9eeb5',
    500: '#f4e795',
    950: '#000000',
  },
}
SCSS
$custom: #f4e795;
$custom-light: #f9eeb5;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e795",
  "rgb": {
    "r": 244,
    "g": 231,
    "b": 149
  },
  "hsl": {
    "h": 51.789,
    "s": 81.197,
    "l": 77.059
  },
  "oklch": {
    "l": 0.92027,
    "c": 0.1033,
    "h": 100.4
  },
  "luminance": 0.78555
}

Semantic roles & 50–950 ramp

primary
#F4E795
secondary
#5B6CD2
accent
#25DE08
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F4E795

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

Preview Lab → · Contrast checker → · Palette generator →

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