#F2EC92#F2EC92

#F2EC92 is a very light, moderate yellow. Relative luminance 0.809; OKLCH L 92.8% C 0.112 H 105.1°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#F2EC92
RGBrgb(242, 236, 146)
HSLhsl(56, 79%, 76%)
HSVhsv(56, 40%, 95%)
CMYKcmyk(0%, 2.5%, 39.7%, 5.1%)
CIE-LABlab(92.11, -10.60, 44.32)
CIE-LCHlch(92.11, 45.57, 103.45°)
OKLaboklab(92.83% -0.029 0.1079)
OKLCHoklch(92.83% 0.112 105.1)
XYZxyz(71.8029, 80.9452, 39.0301)
Luminance0.8094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC92 #9298F2
analogous
#F2BC92 #F2EC92 #C8F292
triadic
#F2EC92 #92F2EC #EC92F2
tetradic
#F2EC92 #92F2BC #9298F2 #F292C8
square
#F2EC92 #92F2BC #9298F2 #F292C8
split-complementary
#F2EC92 #92C8F2 #BC92F2
monochromatic
#E5D925 #EBE25B #F2EC92 #F9F6C9 #FCFAE4

Accessibility & contrast

On white

1.22
#F2EC92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.19
#F2EC92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC92
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC92#FFFFFF#000000##000000
##F2EC921.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE68B
Deuteranopia (green-blind)
#FDEA96
Tritanopia (blue-blind)
#FFE1D6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ec92;
/* rgb */ color: rgb(242, 236, 146);
/* oklch */ color: oklch(92.8% 0.112 105.1);
Tailwind
colors: {
  custom: {
    50: '#f8f2b3',
    500: '#f2ec92',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec92;
$custom-light: #f8f2b3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec92",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 146
  },
  "hsl": {
    "h": 56.25,
    "s": 78.689,
    "l": 76.078
  },
  "oklch": {
    "l": 0.92826,
    "c": 0.11177,
    "h": 105.1
  },
  "luminance": 0.80943
}

Semantic roles & 50–950 ramp

primary
#F2EC92
secondary
#5961CF
accent
#18DB0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F2EC92

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

Preview Lab → · Contrast checker → · Palette generator →

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