#F2EC35#F2EC35

#F2EC35 is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 91.9% C 0.185 H 107.5°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#F2EC35
RGBrgb(242, 236, 53)
HSLhsl(58, 88%, 58%)
HSVhsv(58, 78%, 95%)
CMYKcmyk(0%, 2.5%, 78.1%, 5.1%)
CIE-LABlab(91.29, -16.90, 81.47)
CIE-LCHlch(91.29, 83.20, 101.72°)
OKLaboklab(91.91% -0.0559 0.1767)
OKLCHoklch(91.91% 0.185 107.5)
XYZxyz(67.2588, 79.1276, 15.0977)
Luminance0.7913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC35 #353BF2
analogous
#F28D35 #F2EC35 #9AF235
triadic
#F2EC35 #35F2EC #EC35F2
tetradic
#F2EC35 #35F28D #353BF2 #F2359A
square
#F2EC35 #35F28D #353BF2 #F2359A
split-complementary
#F2EC35 #359AF2 #8D35F2
monochromatic
#A29D0A #DCD50E #F2EC35 #F6F16E #F9F7A8

Accessibility & contrast

On white

1.25
#F2EC35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.83
#F2EC35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC35
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC35#FFFFFF#000000##000000
##F2EC351.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE300
Deuteranopia (green-blind)
#FFE945
Tritanopia (blue-blind)
#FFDCCB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2ec35;
/* rgb */ color: rgb(242, 236, 53);
/* oklch */ color: oklch(91.9% 0.185 107.5);
Tailwind
colors: {
  custom: {
    50: '#fbf17c',
    500: '#f2ec35',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec35;
$custom-light: #fbf17c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec35",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 53
  },
  "hsl": {
    "h": 58.095,
    "s": 87.907,
    "l": 57.843
  },
  "oklch": {
    "l": 0.91914,
    "c": 0.18528,
    "h": 107.5
  },
  "luminance": 0.79125
}

Semantic roles & 50–950 ramp

primary
#F2EC35
secondary
#272BA4
accent
#30FE2A
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#18160B
muted
#86857E

Preview Lab

Preview with #F2EC35

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

Preview Lab → · Contrast checker → · Palette generator →

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