#F2EC59#F2EC59

#F2EC59 is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 92.1% C 0.164 H 107.0°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#F2EC59
RGBrgb(242, 236, 89)
HSLhsl(58, 85%, 65%)
HSVhsv(58, 63%, 95%)
CMYKcmyk(0%, 2.5%, 63.2%, 5.1%)
CIE-LABlab(91.50, -15.26, 69.41)
CIE-LCHlch(91.50, 71.07, 102.40°)
OKLaboklab(92.15% -0.048 0.1572)
OKLCHoklch(92.15% 0.164 107)
XYZxyz(68.4190, 79.5916, 21.2079)
Luminance0.7959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC59 #595FF2
analogous
#F29F59 #F2EC59 #ACF259
triadic
#F2EC59 #59F2EC #EC59F2
tetradic
#F2EC59 #59F29F #595FF2 #F259AC
square
#F2EC59 #59F29F #595FF2 #F259AC
split-complementary
#F2EC59 #59ACF2 #9F59F2
monochromatic
#C1BA0F #EEE620 #F2EC59 #F6F292 #FBF9CB

Accessibility & contrast

On white

1.24
#F2EC59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.92
#F2EC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC59
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC59#FFFFFF#000000##000000
##F2EC591.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE346
Deuteranopia (green-blind)
#FFE962
Tritanopia (blue-blind)
#FFDDCE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ec59;
/* rgb */ color: rgb(242, 236, 89);
/* oklch */ color: oklch(92.1% 0.164 107.0);
Tailwind
colors: {
  custom: {
    50: '#faf18f',
    500: '#f2ec59',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec59;
$custom-light: #faf18f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec59",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 89
  },
  "hsl": {
    "h": 57.647,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.92148,
    "c": 0.16431,
    "h": 107
  },
  "luminance": 0.79589
}

Semantic roles & 50–950 ramp

primary
#F2EC59
secondary
#3036BF
accent
#0CE204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2EC59

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

Preview Lab → · Contrast checker → · Palette generator →

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