#F4E97B#F4E97B

#F4E97B is a very light, vivid yellow. Relative luminance 0.789; OKLCH L 92.1% C 0.132 H 103.5°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#F4E97B
RGBrgb(244, 233, 123)
HSLhsl(55, 85%, 72%)
HSVhsv(55, 50%, 96%)
CMYKcmyk(0%, 4.5%, 49.6%, 4.3%)
CIE-LABlab(91.21, -10.52, 54.29)
CIE-LCHlch(91.21, 55.30, 100.97°)
OKLaboklab(92.06% -0.031 0.1286)
OKLCHoklch(92.06% 0.132 103.5)
XYZxyz(70.0242, 78.9432, 30.2840)
Luminance0.7894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E97B #7B86F4
analogous
#F4AC7B #F4E97B #C3F47B
triadic
#F4E97B #7BF4E9 #E97BF4
tetradic
#F4E97B #7BF4AC #7B86F4 #F47BC3
square
#F4E97B #7BF4AC #7B86F4 #F47BC3
split-complementary
#F4E97B #7BC3F4 #AC7BF4
monochromatic
#E2CF13 #EFE043 #F4E97B #F9F2B3 #FDFAE3

Accessibility & contrast

On white

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

On black

16.79
#F4E97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E97B
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E97B#FFFFFF#000000##000000
##F4E97B1.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE271
Deuteranopia (green-blind)
#FEE880
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f4e97b;
/* rgb */ color: rgb(244, 233, 123);
/* oklch */ color: oklch(92.1% 0.132 103.5);
Tailwind
colors: {
  custom: {
    50: '#faefa4',
    500: '#f4e97b',
    950: '#000000',
  },
}
SCSS
$custom: #f4e97b;
$custom-light: #faefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e97b",
  "rgb": {
    "r": 244,
    "g": 233,
    "b": 123
  },
  "hsl": {
    "h": 54.545,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92057,
    "c": 0.13229,
    "h": 103.5
  },
  "luminance": 0.78941
}

Semantic roles & 50–950 ramp

primary
#F4E97B
secondary
#4451CF
accent
#18E104
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F4E97B

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

Preview Lab → · Contrast checker → · Palette generator →

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