#F2EC65#F2EC65

#F2EC65 is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.3% C 0.155 H 106.7°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#F2EC65
RGBrgb(242, 236, 101)
HSLhsl(57, 84%, 67%)
HSVhsv(57, 58%, 95%)
CMYKcmyk(0%, 2.5%, 58.3%, 5.1%)
CIE-LABlab(91.60, -14.49, 64.57)
CIE-LCHlch(91.60, 66.17, 102.65°)
OKLaboklab(92.26% -0.0445 0.1485)
OKLCHoklch(92.26% 0.155 106.7)
XYZxyz(68.9646, 79.8099, 24.0814)
Luminance0.7981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC65 #656BF2
analogous
#F2A665 #F2EC65 #B1F265
triadic
#F2EC65 #65F2EC #EC65F2
tetradic
#F2EC65 #65F2A6 #656BF2 #F265B1
square
#F2EC65 #65F2A6 #656BF2 #F265B1
split-complementary
#F2EC65 #65B1F2 #A665F2
monochromatic
#CBC411 #EDE52D #F2EC65 #F7F39D #FCFAD6

Accessibility & contrast

On white

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

On black

16.96
#F2EC65 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC65
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC65#FFFFFF#000000##000000
##F2EC651.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ec65;
/* rgb */ color: rgb(242, 236, 101);
/* oklch */ color: oklch(92.3% 0.155 106.7);
Tailwind
colors: {
  custom: {
    50: '#f9f196',
    500: '#f2ec65',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec65;
$custom-light: #f9f196;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec65",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 101
  },
  "hsl": {
    "h": 57.447,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.92258,
    "c": 0.15503,
    "h": 106.7
  },
  "luminance": 0.79808
}

Semantic roles & 50–950 ramp

primary
#F2EC65
secondary
#333AC8
accent
#0EE105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2EC65

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

Preview Lab → · Contrast checker → · Palette generator →

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