#F4E962#F4E962

#F4E962 is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.8% C 0.154 H 104.6°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#F4E962
RGBrgb(244, 233, 98)
HSLhsl(55, 87%, 67%)
HSVhsv(55, 60%, 96%)
CMYKcmyk(0%, 4.5%, 59.8%, 4.3%)
CIE-LABlab(90.96, -12.41, 65.18)
CIE-LCHlch(90.96, 66.36, 100.78°)
OKLaboklab(91.78% -0.039 0.1494)
OKLCHoklch(91.78% 0.154 104.6)
XYZxyz(68.6541, 78.3952, 23.0683)
Luminance0.7839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E962 #626DF4
analogous
#F4A062 #F4E962 #B6F462
triadic
#F4E962 #62F4E9 #E962F4
tetradic
#F4E962 #62F4A0 #626DF4 #F462B6
square
#F4E962 #62F4A0 #626DF4 #F462B6
split-complementary
#F4E962 #62B6F4 #A062F4
monochromatic
#CDBF0E #F0E129 #F4E962 #F8F19B #FCF9D4

Accessibility & contrast

On white

1.26
#F4E962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.68
#F4E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E962
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E962#FFFFFF#000000##000000
##F4E9621.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE153
Deuteranopia (green-blind)
#FFE869
Tritanopia (blue-blind)
#FFDBCC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f4e962;
/* rgb */ color: rgb(244, 233, 98);
/* oklch */ color: oklch(91.8% 0.154 104.6);
Tailwind
colors: {
  custom: {
    50: '#fbef94',
    500: '#f4e962',
    950: '#000000',
  },
}
SCSS
$custom: #f4e962;
$custom-light: #fbef94;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e962",
  "rgb": {
    "r": 244,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 55.479,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.91779,
    "c": 0.15441,
    "h": 104.6
  },
  "luminance": 0.78393
}

Semantic roles & 50–950 ramp

primary
#F4E962
secondary
#313CC9
accent
#13E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160D
muted
#86857F

Preview Lab

Preview with #F4E962

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

Preview Lab → · Contrast checker → · Palette generator →

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