#F4E7A7#F4E7A7

#F4E7A7 is a very light, moderate yellow. Relative luminance 0.792; OKLCH L 92.3% C 0.083 H 98.0°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#F4E7A7
RGBrgb(244, 231, 167)
HSLhsl(50, 78%, 81%)
HSVhsv(50, 32%, 96%)
CMYKcmyk(0%, 5.3%, 31.6%, 4.3%)
CIE-LABlab(91.31, -4.96, 32.81)
CIE-LCHlch(91.31, 33.19, 98.60°)
OKLaboklab(92.34% -0.0116 0.082)
OKLCHoklch(92.34% 0.083 98)
XYZxyz(72.8600, 79.1768, 47.9963)
Luminance0.7917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E7A7 #A7B4F4
analogous
#F4C0A7 #F4E7A7 #DAF4A7
triadic
#F4E7A7 #A7F4E7 #E7A7F4
tetradic
#F4E7A7 #A7F4C0 #A7B4F4 #F4A7DA
square
#F4E7A7 #A7F4C0 #A7B4F4 #F4A7DA
split-complementary
#F4E7A7 #A7DAF4 #C0A7F4
monochromatic
#E6C93A #EDD871 #F4E7A7 #FBF6DD #FCF8E4

Accessibility & contrast

On white

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

On black

16.83
#F4E7A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E7A7
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E7A7#FFFFFF#000000##000000
##F4E7A71.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E3A3
Deuteranopia (green-blind)
#F7E8A9
Tritanopia (blue-blind)
#FFDED6
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f4e7a7;
/* rgb */ color: rgb(244, 231, 167);
/* oklch */ color: oklch(92.3% 0.083 98.0);
Tailwind
colors: {
  custom: {
    50: '#f8eec1',
    500: '#f4e7a7',
    950: '#000000',
  },
}
SCSS
$custom: #f4e7a7;
$custom-light: #f8eec1;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e7a7",
  "rgb": {
    "r": 244,
    "g": 231,
    "b": 167
  },
  "hsl": {
    "h": 49.87,
    "s": 77.778,
    "l": 80.588
  },
  "oklch": {
    "l": 0.92341,
    "c": 0.0828,
    "h": 98
  },
  "luminance": 0.79175
}

Semantic roles & 50–950 ramp

primary
#F4E7A7
secondary
#6C7DD4
accent
#2EDA0B
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #F4E7A7

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

Preview Lab → · Contrast checker → · Palette generator →

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