#F4E278#F4E278

#F4E278 is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.6% C 0.129 H 99.8°. Best body text is #000000 at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#F4E278
RGBrgb(244, 226, 120)
HSLhsl(51, 85%, 71%)
HSVhsv(51, 51%, 96%)
CMYKcmyk(0%, 7.4%, 50.8%, 4.3%)
CIE-LABlab(89.39, -7.28, 53.52)
CIE-LCHlch(89.39, 54.01, 97.75°)
OKLaboklab(90.6% -0.022 0.1267)
OKLCHoklch(90.6% 0.129 99.8)
XYZxyz(67.8969, 74.9844, 28.6626)
Luminance0.7498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E278 #788AF4
analogous
#F4A478 #F4E278 #C8F478
triadic
#F4E278 #78F4E2 #E278F4
tetradic
#F4E278 #78F4A4 #788AF4 #F478C8
square
#F4E278 #78F4A4 #788AF4 #F478C8
split-complementary
#F4E278 #78C8F4 #A478F4
monochromatic
#DFC212 #EFD63F #F4E278 #F9EEB1 #FDF9E3

Accessibility & contrast

On white

1.31
#F4E278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.00
#F4E278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E278
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E278#FFFFFF#000000##000000
##F4E2781.001.3116.0016.00
#FFFFFF1.311.0021.0021.00
#00000016.0021.001.001.00
##00000016.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD6F
Deuteranopia (green-blind)
#F9E47D
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f4e278;
/* rgb */ color: rgb(244, 226, 120);
/* oklch */ color: oklch(90.6% 0.129 99.8);
Tailwind
colors: {
  custom: {
    50: '#faeaa1',
    500: '#f4e278',
    950: '#000000',
  },
}
SCSS
$custom: #f4e278;
$custom-light: #faeaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e278",
  "rgb": {
    "r": 244,
    "g": 226,
    "b": 120
  },
  "hsl": {
    "h": 51.29,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.906,
    "c": 0.12856,
    "h": 99.8
  },
  "luminance": 0.74982
}

Semantic roles & 50–950 ramp

primary
#F4E278
secondary
#4156CF
accent
#24E104
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F4E278

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

Preview Lab → · Contrast checker → · Palette generator →

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