#F4F970#F4F970

#F4F970 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.2% C 0.159 H 111.0°. Best body text is #000000 at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#F4F970
RGBrgb(244, 249, 112)
HSLhsl(62, 92%, 71%)
HSVhsv(62, 55%, 98%)
CMYKcmyk(2%, 0%, 55%, 2.4%)
CIE-LABlab(95.23, -19.22, 63.93)
CIE-LCHlch(95.23, 66.75, 106.73°)
OKLaboklab(95.22% -0.0569 0.1484)
OKLCHoklch(95.22% 0.159 111)
XYZxyz(74.1104, 88.1560, 28.4379)
Luminance0.8815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F970 #7570F9
analogous
#F9B970 #F4F970 #AFF970
triadic
#F4F970 #70F4F9 #F970F4
tetradic
#F4F970 #70F9B9 #7570F9 #F970AF
square
#F4F970 #70F9B9 #7570F9 #F970AF
split-complementary
#F4F970 #70AFF9 #B970F9
monochromatic
#DDE50A #EFF735 #F4F970 #F9FBAB #FDFEE2

Accessibility & contrast

On white

1.13
#F4F970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.63
#F4F970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F970
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F970#FFFFFF#000000##000000
##F4F9701.001.1318.6318.63
#FFFFFF1.131.0021.0021.00
#00000018.6321.001.001.00
##00000018.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF62
Deuteranopia (green-blind)
#FFF378
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f4f970;
/* rgb */ color: rgb(244, 249, 112);
/* oklch */ color: oklch(95.2% 0.159 111.0);
Tailwind
colors: {
  custom: {
    50: '#fafb9d',
    500: '#f4f970',
    950: '#000000',
  },
}
SCSS
$custom: #f4f970;
$custom-light: #fafb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f970",
  "rgb": {
    "r": 244,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 62.19,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95219,
    "c": 0.15893,
    "h": 111
  },
  "luminance": 0.88154
}

Semantic roles & 50–950 ramp

primary
#F4F970
secondary
#3F39D4
accent
#00E608
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F970

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

Preview Lab → · Contrast checker → · Palette generator →

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