#F4E77B#F4E77B

#F4E77B is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.6% C 0.130 H 102.5°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#F4E77B
RGBrgb(244, 231, 123)
HSLhsl(54, 85%, 72%)
HSVhsv(54, 50%, 96%)
CMYKcmyk(0%, 5.3%, 49.6%, 4.3%)
CIE-LABlab(90.70, -9.53, 53.68)
CIE-LCHlch(90.70, 54.52, 100.06°)
OKLaboklab(91.65% -0.0281 0.1273)
OKLCHoklch(91.65% 0.13 102.5)
XYZxyz(69.4612, 77.8173, 30.0963)
Luminance0.7782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E77B #7B88F4
analogous
#F4AB7B #F4E77B #C4F47B
triadic
#F4E77B #7BF4E7 #E77BF4
tetradic
#F4E77B #7BF4AB #7B88F4 #F47BC4
square
#F4E77B #7BF4AB #7B88F4 #F47BC4
split-complementary
#F4E77B #7BC4F4 #AB7BF4
monochromatic
#E2CC13 #EFDD43 #F4E77B #F9F1B3 #FDFAE3

Accessibility & contrast

On white

1.27
#F4E77B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#F4E77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E77B
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E77B#FFFFFF#000000##000000
##F4E77B1.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E171
Deuteranopia (green-blind)
#FCE780
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f4e77b;
/* rgb */ color: rgb(244, 231, 123);
/* oklch */ color: oklch(91.6% 0.130 102.5);
Tailwind
colors: {
  custom: {
    50: '#faeea3',
    500: '#f4e77b',
    950: '#000000',
  },
}
SCSS
$custom: #f4e77b;
$custom-light: #faeea3;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e77b",
  "rgb": {
    "r": 244,
    "g": 231,
    "b": 123
  },
  "hsl": {
    "h": 53.554,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9165,
    "c": 0.13034,
    "h": 102.5
  },
  "luminance": 0.77815
}

Semantic roles & 50–950 ramp

primary
#F4E77B
secondary
#4453CF
accent
#1CE104
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F4E77B

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

Preview Lab → · Contrast checker → · Palette generator →

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