#F2EC77#F2EC77

#F2EC77 is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.5% C 0.139 H 106.2°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#F2EC77
RGBrgb(242, 236, 119)
HSLhsl(57, 83%, 71%)
HSVhsv(57, 51%, 95%)
CMYKcmyk(0%, 2.5%, 50.8%, 5.1%)
CIE-LABlab(91.78, -13.13, 56.78)
CIE-LCHlch(91.78, 58.28, 103.02°)
OKLaboklab(92.45% -0.0388 0.1337)
OKLCHoklch(92.45% 0.139 106.2)
XYZxyz(69.9450, 80.2021, 29.2452)
Luminance0.8020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC77 #777DF2
analogous
#F2AE77 #F2EC77 #BAF277
triadic
#F2EC77 #77F2EC #EC77F2
tetradic
#F2EC77 #77F2AE #777DF2 #F277BA
square
#F2EC77 #77F2AE #777DF2 #F277BA
split-complementary
#F2EC77 #77BAF2 #AE77F2
monochromatic
#DAD015 #EDE43F #F2EC77 #F7F4AF #FCFBE3

Accessibility & contrast

On white

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

On black

17.04
#F2EC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC77
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC77#FFFFFF#000000##000000
##F2EC771.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE46C
Deuteranopia (green-blind)
#FFEA7D
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ec77;
/* rgb */ color: rgb(242, 236, 119);
/* oklch */ color: oklch(92.5% 0.139 106.2);
Tailwind
colors: {
  custom: {
    50: '#f9f2a1',
    500: '#f2ec77',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec77;
$custom-light: #f9f2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec77",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 119
  },
  "hsl": {
    "h": 57.073,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92454,
    "c": 0.13921,
    "h": 106.2
  },
  "luminance": 0.802
}

Semantic roles & 50–950 ramp

primary
#F2EC77
secondary
#4148CC
accent
#11DF07
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EC77

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

Preview Lab → · Contrast checker → · Palette generator →

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