#F4F562#F4F562

#F4F562 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.3% C 0.166 H 109.6°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#F4F562
RGBrgb(244, 245, 98)
HSLhsl(60, 88%, 67%)
HSVhsv(60, 60%, 96%)
CMYKcmyk(0.4%, 0%, 60%, 3.9%)
CIE-LABlab(94.06, -18.27, 68.55)
CIE-LCHlch(94.06, 70.95, 104.92°)
OKLaboklab(94.25% -0.0557 0.1565)
OKLCHoklch(94.25% 0.166 109.6)
XYZxyz(72.1674, 85.4217, 24.2394)
Luminance0.8542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F562 #6362F5
analogous
#F5AC62 #F4F562 #ABF562
triadic
#F4F562 #62F4F5 #F562F4
tetradic
#F4F562 #62F5AC #6362F5 #F562AB
square
#F4F562 #62F5AC #6362F5 #F562AB
split-complementary
#F4F562 #62ABF5 #AC62F5
monochromatic
#CECF0D #F0F128 #F4F562 #F8F99C #FCFCD5

Accessibility & contrast

On white

1.16
#F4F562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.08
#F4F562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F562
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F562#FFFFFF#000000##000000
##F4F5621.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB50
Deuteranopia (green-blind)
#FFF06B
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f4f562;
/* rgb */ color: rgb(244, 245, 98);
/* oklch */ color: oklch(94.3% 0.166 109.6);
Tailwind
colors: {
  custom: {
    50: '#fbf894',
    500: '#f4f562',
    950: '#000000',
  },
}
SCSS
$custom: #f4f562;
$custom-light: #fbf894;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f562",
  "rgb": {
    "r": 244,
    "g": 245,
    "b": 98
  },
  "hsl": {
    "h": 60.408,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.94253,
    "c": 0.16613,
    "h": 109.6
  },
  "luminance": 0.8542
}

Semantic roles & 50–950 ramp

primary
#F4F562
secondary
#3130CB
accent
#01E502
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F4F562

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

Preview Lab → · Contrast checker → · Palette generator →

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