#F4F276#F4F276

#F4F276 is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.8% C 0.146 H 108.1°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#F4F276
RGBrgb(244, 242, 118)
HSLhsl(59, 85%, 71%)
HSVhsv(59, 52%, 96%)
CMYKcmyk(0%, 0.8%, 51.6%, 4.3%)
CIE-LABlab(93.47, -15.36, 59.26)
CIE-LCHlch(93.47, 61.22, 104.54°)
OKLaboklab(93.84% -0.0453 0.139)
OKLCHoklch(93.84% 0.146 108.1)
XYZxyz(72.3322, 84.0473, 29.5485)
Luminance0.8405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F276 #7678F4
analogous
#F4B376 #F4F276 #B7F476
triadic
#F4F276 #76F4F2 #F276F4
tetradic
#F4F276 #76F4B3 #7678F4 #F476B7
square
#F4F276 #76F4B3 #7678F4 #F476B7
split-complementary
#F4F276 #76B7F4 #B376F4
monochromatic
#DEDB12 #EFED3D #F4F276 #F9F7AF #FDFCE3

Accessibility & contrast

On white

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

On black

17.81
#F4F276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F276
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F276#FFFFFF#000000##000000
##F4F2761.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4f276;
/* rgb */ color: rgb(244, 242, 118);
/* oklch */ color: oklch(93.8% 0.146 108.1);
Tailwind
colors: {
  custom: {
    50: '#faf6a1',
    500: '#f4f276',
    950: '#000000',
  },
}
SCSS
$custom: #f4f276;
$custom-light: #faf6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f276",
  "rgb": {
    "r": 244,
    "g": 242,
    "b": 118
  },
  "hsl": {
    "h": 59.048,
    "s": 85.135,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93839,
    "c": 0.14617,
    "h": 108.1
  },
  "luminance": 0.84045
}

Semantic roles & 50–950 ramp

primary
#F4F276
secondary
#4042CF
accent
#07E204
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F276

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

Preview Lab → · Contrast checker → · Palette generator →

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