#F4F278#F4F278

#F4F278 is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.9% C 0.144 H 108.0°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#F4F278
RGBrgb(244, 242, 120)
HSLhsl(59, 85%, 71%)
HSVhsv(59, 51%, 96%)
CMYKcmyk(0%, 0.8%, 50.8%, 4.3%)
CIE-LABlab(93.49, -15.20, 58.38)
CIE-LCHlch(93.49, 60.32, 104.60°)
OKLaboklab(93.86% -0.0447 0.1372)
OKLCHoklch(93.86% 0.144 108)
XYZxyz(72.4523, 84.0953, 30.1811)
Luminance0.8409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F278 #787AF4
analogous
#F4B478 #F4F278 #B8F478
triadic
#F4F278 #78F4F2 #F278F4
tetradic
#F4F278 #78F4B4 #787AF4 #F478B8
square
#F4F278 #78F4B4 #787AF4 #F478B8
split-complementary
#F4F278 #78B8F4 #B478F4
monochromatic
#DFDC12 #EFED3F #F4F278 #F9F7B1 #FDFCE3

Accessibility & contrast

On white

1.18
#F4F278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.82
#F4F278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F278
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F278#FFFFFF#000000##000000
##F4F2781.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6C
Deuteranopia (green-blind)
#FFEF7E
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f4f278;
/* rgb */ color: rgb(244, 242, 120);
/* oklch */ color: oklch(93.9% 0.144 108.0);
Tailwind
colors: {
  custom: {
    50: '#faf6a2',
    500: '#f4f278',
    950: '#000000',
  },
}
SCSS
$custom: #f4f278;
$custom-light: #faf6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f278",
  "rgb": {
    "r": 244,
    "g": 242,
    "b": 120
  },
  "hsl": {
    "h": 59.032,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93862,
    "c": 0.14433,
    "h": 108
  },
  "luminance": 0.84093
}

Semantic roles & 50–950 ramp

primary
#F4F278
secondary
#4144CF
accent
#08E104
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F278

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

Preview Lab → · Contrast checker → · Palette generator →

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