#F4D962#F4D962

#F4D962 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.5% C 0.141 H 96.6°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#F4D962
RGBrgb(244, 217, 98)
HSLhsl(49, 87%, 67%)
HSVhsv(49, 60%, 96%)
CMYKcmyk(0%, 11.1%, 59.8%, 4.3%)
CIE-LABlab(86.87, -4.42, 60.67)
CIE-LCHlch(86.87, 60.83, 94.16°)
OKLaboklab(88.54% -0.0162 0.1398)
OKLCHoklch(88.54% 0.141 96.6)
XYZxyz(64.3284, 69.7436, 21.6264)
Luminance0.6974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4D962 #627DF4
analogous
#F49062 #F4D962 #C6F462
triadic
#F4D962 #62F4D9 #D962F4
tetradic
#F4D962 #62F490 #627DF4 #F462C6
square
#F4D962 #62F490 #627DF4 #F462C6
split-complementary
#F4D962 #62C6F4 #9062F4
monochromatic
#CDAA0E #F0CB29 #F4D962 #F8E79B #FCF5D4

Accessibility & contrast

On white

1.40
#F4D962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.95
#F4D962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4D962
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4D962#FFFFFF#000000##000000
##F4D9621.001.4014.9514.95
#FFFFFF1.401.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD455
Deuteranopia (green-blind)
#F4DD68
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f4d962;
/* rgb */ color: rgb(244, 217, 98);
/* oklch */ color: oklch(88.5% 0.141 96.6);
Tailwind
colors: {
  custom: {
    50: '#fbe493',
    500: '#f4d962',
    950: '#000000',
  },
}
SCSS
$custom: #f4d962;
$custom-light: #fbe493;
$custom-dark: #000000;
JSON
{
  "hex": "#f4d962",
  "rgb": {
    "r": 244,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 48.904,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.88535,
    "c": 0.14071,
    "h": 96.6
  },
  "luminance": 0.69741
}

Semantic roles & 50–950 ramp

primary
#F4D962
secondary
#314DC9
accent
#2CE302
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F4D962

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

Preview Lab → · Contrast checker → · Palette generator →

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