#F4F277#F4F277

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

Color values

HEX#F4F277
RGBrgb(244, 242, 119)
HSLhsl(59, 85%, 71%)
HSVhsv(59, 51%, 96%)
CMYKcmyk(0%, 0.8%, 51.2%, 4.3%)
CIE-LABlab(93.48, -15.28, 58.82)
CIE-LCHlch(93.48, 60.77, 104.57°)
OKLaboklab(93.85% -0.045 0.1381)
OKLCHoklch(93.85% 0.145 108.1)
XYZxyz(72.3920, 84.0712, 29.8631)
Luminance0.8407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F277 #7779F4
analogous
#F4B377 #F4F277 #B7F477
triadic
#F4F277 #77F4F2 #F277F4
tetradic
#F4F277 #77F4B3 #7779F4 #F477B7
square
#F4F277 #77F4B3 #7779F4 #F477B7
split-complementary
#F4F277 #77B7F4 #B377F4
monochromatic
#DFDB12 #EFED3E #F4F277 #F9F7B0 #FDFCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F4F277#FFFFFF#000000##000000
##F4F2771.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)
#FFEA6B
Deuteranopia (green-blind)
#FFEF7D
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f4f277;
/* rgb */ color: rgb(244, 242, 119);
/* oklch */ color: oklch(93.8% 0.145 108.1);
Tailwind
colors: {
  custom: {
    50: '#faf6a1',
    500: '#f4f277',
    950: '#000000',
  },
}
SCSS
$custom: #f4f277;
$custom-light: #faf6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f277",
  "rgb": {
    "r": 244,
    "g": 242,
    "b": 119
  },
  "hsl": {
    "h": 59.04,
    "s": 85.034,
    "l": 71.176
  },
  "oklch": {
    "l": 0.9385,
    "c": 0.14525,
    "h": 108.1
  },
  "luminance": 0.84069
}

Semantic roles & 50–950 ramp

primary
#F4F277
secondary
#4143CF
accent
#08E204
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F277

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

Preview Lab → · Contrast checker → · Palette generator →

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