#F4E792#F4E792

#F4E792 is a very light, moderate yellow. Relative luminance 0.785; OKLCH L 92.0% C 0.107 H 100.7°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#F4E792
RGBrgb(244, 231, 146)
HSLhsl(52, 82%, 76%)
HSVhsv(52, 40%, 96%)
CMYKcmyk(0%, 5.3%, 40.2%, 4.3%)
CIE-LABlab(90.99, -7.34, 42.93)
CIE-LCHlch(90.99, 43.55, 99.70°)
OKLaboklab(91.98% -0.0197 0.1048)
OKLCHoklch(91.98% 0.107 100.7)
XYZxyz(71.0738, 78.4623, 38.5893)
Luminance0.7846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E792 #929FF4
analogous
#F4B692 #F4E792 #D0F492
triadic
#F4E792 #92F4E7 #E792F4
tetradic
#F4E792 #92F4B6 #929FF4 #F492D0
square
#F4E792 #92F4B6 #929FF4 #F492D0
split-complementary
#F4E792 #92D0F4 #B692F4
monochromatic
#E9CF23 #EEDB5A #F4E792 #FAF3CA #FCF9E3

Accessibility & contrast

On white

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

On black

16.69
#F4E792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E792
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E792#FFFFFF#000000##000000
##F4E7921.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E28C
Deuteranopia (green-blind)
#FAE895
Tritanopia (blue-blind)
#FFDCD2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f4e792;
/* rgb */ color: rgb(244, 231, 146);
/* oklch */ color: oklch(92.0% 0.107 100.7);
Tailwind
colors: {
  custom: {
    50: '#f9eeb3',
    500: '#f4e792',
    950: '#000000',
  },
}
SCSS
$custom: #f4e792;
$custom-light: #f9eeb3;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e792",
  "rgb": {
    "r": 244,
    "g": 231,
    "b": 146
  },
  "hsl": {
    "h": 52.041,
    "s": 81.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.91979,
    "c": 0.10659,
    "h": 100.7
  },
  "luminance": 0.7846
}

Semantic roles & 50–950 ramp

primary
#F4E792
secondary
#5969D2
accent
#24DE07
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F4E792

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

Preview Lab → · Contrast checker → · Palette generator →

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