#F4F2AF#F4F2AF

#F4F2AF is a very light, moderate yellow. Relative luminance 0.858; OKLCH L 94.7% C 0.085 H 106.5°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#F4F2AF
RGBrgb(244, 242, 175)
HSLhsl(58, 76%, 82%)
HSVhsv(58, 28%, 96%)
CMYKcmyk(0%, 0.8%, 28.3%, 4.3%)
CIE-LABlab(94.24, -9.48, 32.67)
CIE-LCHlch(94.24, 34.02, 106.17°)
OKLaboklab(94.7% -0.0242 0.0819)
OKLCHoklch(94.7% 0.085 106.5)
XYZxyz(76.7985, 85.8338, 53.0710)
Luminance0.8583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F2AF #AFB1F4
analogous
#F4D0AF #F4F2AF #D4F4AF
triadic
#F4F2AF #AFF4F2 #F2AFF4
tetradic
#F4F2AF #AFF4D0 #AFB1F4 #F4AFD4
square
#F4F2AF #AFF4D0 #AFB1F4 #F4AFD4
split-complementary
#F4F2AF #AFD4F4 #D0AFF4
monochromatic
#E5E143 #EDE979 #F4F2AF #FBFBE4 #FBFBE4

Accessibility & contrast

On white

1.16
#F4F2AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.17
#F4F2AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F2AF
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F2AF#FFFFFF#000000##000000
##F4F2AF1.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEDAB
Deuteranopia (green-blind)
#FFF0B2
Tritanopia (blue-blind)
#FEEAE0
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f4f2af;
/* rgb */ color: rgb(244, 242, 175);
/* oklch */ color: oklch(94.7% 0.085 106.5);
Tailwind
colors: {
  custom: {
    50: '#f8f6c7',
    500: '#f4f2af',
    950: '#000000',
  },
}
SCSS
$custom: #f4f2af;
$custom-light: #f8f6c7;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f2af",
  "rgb": {
    "r": 244,
    "g": 242,
    "b": 175
  },
  "hsl": {
    "h": 58.261,
    "s": 75.824,
    "l": 82.157
  },
  "oklch": {
    "l": 0.94701,
    "c": 0.08536,
    "h": 106.5
  },
  "luminance": 0.85833
}

Semantic roles & 50–950 ramp

primary
#F4F2AF
secondary
#7376D4
accent
#13D80D
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171713
muted
#858582

Preview Lab

Preview with #F4F2AF

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

Preview Lab → · Contrast checker → · Palette generator →

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