#F1E78A#F1E78A

#F1E78A is a very light, moderate yellow. Relative luminance 0.777; OKLCH L 91.6% C 0.115 H 103.0°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#F1E78A
RGBrgb(241, 231, 138)
HSLhsl(54, 79%, 74%)
HSVhsv(54, 43%, 95%)
CMYKcmyk(0%, 4.1%, 42.7%, 5.5%)
CIE-LABlab(90.64, -9.32, 46.36)
CIE-LCHlch(90.64, 47.29, 101.37°)
OKLaboklab(91.61% -0.026 0.1121)
OKLCHoklch(91.61% 0.115 103)
XYZxyz(69.4404, 77.6895, 35.3775)
Luminance0.7769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1E78A #8A94F1
analogous
#F1B48A #F1E78A #C8F18A
triadic
#F1E78A #8AF1E7 #E78AF1
tetradic
#F1E78A #8AF1B4 #8A94F1 #F18AC8
square
#F1E78A #8AF1B4 #8A94F1 #F18AC8
split-complementary
#F1E78A #8AC8F1 #B48AF1
monochromatic
#E4D11D #EADC53 #F1E78A #F8F2C1 #FCF9E4

Accessibility & contrast

On white

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

On black

16.54
#F1E78A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1E78A
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1E78A#FFFFFF#000000##000000
##F1E78A1.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E183
Deuteranopia (green-blind)
#FAE78E
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f1e78a;
/* rgb */ color: rgb(241, 231, 138);
/* oklch */ color: oklch(91.6% 0.115 103.0);
Tailwind
colors: {
  custom: {
    50: '#f7eead',
    500: '#f1e78a',
    950: '#000000',
  },
}
SCSS
$custom: #f1e78a;
$custom-light: #f7eead;
$custom-dark: #000000;
JSON
{
  "hex": "#f1e78a",
  "rgb": {
    "r": 241,
    "g": 231,
    "b": 138
  },
  "hsl": {
    "h": 54.175,
    "s": 78.626,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91605,
    "c": 0.1151,
    "h": 103
  },
  "luminance": 0.77688
}

Semantic roles & 50–950 ramp

primary
#F1E78A
secondary
#525ECD
accent
#1FDB0B
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F1E78A

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

Preview Lab → · Contrast checker → · Palette generator →

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