#F4EC62#F4EC62

#F4EC62 is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.4% C 0.157 H 106.0°. Best body text is #000000 at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#F4EC62
RGBrgb(244, 236, 98)
HSLhsl(57, 87%, 67%)
HSVhsv(57, 60%, 96%)
CMYKcmyk(0%, 3.3%, 59.8%, 4.3%)
CIE-LABlab(91.73, -13.89, 66.03)
CIE-LCHlch(91.73, 67.47, 101.88°)
OKLaboklab(92.4% -0.0432 0.1512)
OKLCHoklch(92.4% 0.157 106)
XYZxyz(69.5106, 80.1081, 23.3538)
Luminance0.8011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4EC62 #626AF4
analogous
#F4A362 #F4EC62 #B3F462
triadic
#F4EC62 #62F4EC #EC62F4
tetradic
#F4EC62 #62F4A3 #626AF4 #F462B3
square
#F4EC62 #62F4A3 #626AF4 #F462B3
split-complementary
#F4EC62 #62B3F4 #A362F4
monochromatic
#CDC30E #F0E529 #F4EC62 #F8F39B #FCFAD4

Accessibility & contrast

On white

1.23
#F4EC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.02
#F4EC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4EC62
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4EC62#FFFFFF#000000##000000
##F4EC621.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE452
Deuteranopia (green-blind)
#FFEA6A
Tritanopia (blue-blind)
#FFDECF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f4ec62;
/* rgb */ color: rgb(244, 236, 98);
/* oklch */ color: oklch(92.4% 0.157 106.0);
Tailwind
colors: {
  custom: {
    50: '#fbf194',
    500: '#f4ec62',
    950: '#000000',
  },
}
SCSS
$custom: #f4ec62;
$custom-light: #fbf194;
$custom-dark: #000000;
JSON
{
  "hex": "#f4ec62",
  "rgb": {
    "r": 244,
    "g": 236,
    "b": 98
  },
  "hsl": {
    "h": 56.712,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.92395,
    "c": 0.15724,
    "h": 106
  },
  "luminance": 0.80106
}

Semantic roles & 50–950 ramp

primary
#F4EC62
secondary
#3139C9
accent
#0EE302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160D
muted
#86857F

Preview Lab

Preview with #F4EC62

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

Preview Lab → · Contrast checker → · Palette generator →

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