#F4E297#F4E297

#F4E297 is a very light, moderate yellow. Relative luminance 0.759; OKLCH L 91.1% C 0.096 H 96.3°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#F4E297
RGBrgb(244, 226, 151)
HSLhsl(48, 81%, 77%)
HSVhsv(48, 38%, 96%)
CMYKcmyk(0%, 7.4%, 38.1%, 4.3%)
CIE-LABlab(89.80, -4.28, 38.90)
CIE-LCHlch(89.80, 39.14, 96.28°)
OKLaboklab(91.06% -0.0105 0.0957)
OKLCHoklch(91.06% 0.096 96.3)
XYZxyz(70.0918, 75.8624, 40.2229)
Luminance0.7586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E297 #97A9F4
analogous
#F4B397 #F4E297 #D8F497
triadic
#F4E297 #97F4E2 #E297F4
tetradic
#F4E297 #97F4B3 #97A9F4 #F497D8
square
#F4E297 #97F4B3 #97A9F4 #F497D8
split-complementary
#F4E297 #97D8F4 #B397F4
monochromatic
#E8C328 #EED360 #F4E297 #FAF1CE #FCF7E3

Accessibility & contrast

On white

1.30
#F4E297 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.17
#F4E297 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E297
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E297#FFFFFF#000000##000000
##F4E2971.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE92
Deuteranopia (green-blind)
#F5E49A
Tritanopia (blue-blind)
#FFD7CF
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f4e297;
/* rgb */ color: rgb(244, 226, 151);
/* oklch */ color: oklch(91.1% 0.096 96.3);
Tailwind
colors: {
  custom: {
    50: '#f9ebb6',
    500: '#f4e297',
    950: '#000000',
  },
}
SCSS
$custom: #f4e297;
$custom-light: #f9ebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e297",
  "rgb": {
    "r": 244,
    "g": 226,
    "b": 151
  },
  "hsl": {
    "h": 48.387,
    "s": 80.87,
    "l": 77.451
  },
  "oklch": {
    "l": 0.91057,
    "c": 0.0963,
    "h": 96.3
  },
  "luminance": 0.7586
}

Semantic roles & 50–950 ramp

primary
#F4E297
secondary
#5D74D2
accent
#31DD08
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F4E297

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

Preview Lab → · Contrast checker → · Palette generator →

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