#F2EF92#F2EF92

#F2EF92 is a very light, moderate yellow. Relative luminance 0.827; OKLCH L 93.4% C 0.115 H 106.8°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#F2EF92
RGBrgb(242, 239, 146)
HSLhsl(58, 79%, 76%)
HSVhsv(58, 40%, 95%)
CMYKcmyk(0%, 1.2%, 39.7%, 5.1%)
CIE-LABlab(92.88, -12.09, 45.30)
CIE-LCHlch(92.88, 46.88, 104.94°)
OKLaboklab(93.44% -0.0333 0.1101)
OKLCHoklch(93.44% 0.115 106.8)
XYZxyz(72.6739, 82.6872, 39.3205)
Luminance0.8269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF92 #9295F2
analogous
#F2BF92 #F2EF92 #C5F292
triadic
#F2EF92 #92F2EF #EF92F2
tetradic
#F2EF92 #92F2BF #9295F2 #F292C5
square
#F2EF92 #92F2BF #9295F2 #F292C5
split-complementary
#F2EF92 #92C5F2 #BF92F2
monochromatic
#E5DF25 #EBE75B #F2EF92 #F9F7C9 #FCFBE4

Accessibility & contrast

On white

1.20
#F2EF92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.54
#F2EF92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF92
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF92#FFFFFF#000000##000000
##F2EF921.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE88B
Deuteranopia (green-blind)
#FFEC96
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2ef92;
/* rgb */ color: rgb(242, 239, 146);
/* oklch */ color: oklch(93.4% 0.115 106.8);
Tailwind
colors: {
  custom: {
    50: '#f8f4b3',
    500: '#f2ef92',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef92;
$custom-light: #f8f4b3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef92",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 146
  },
  "hsl": {
    "h": 58.125,
    "s": 78.689,
    "l": 76.078
  },
  "oklch": {
    "l": 0.93437,
    "c": 0.11507,
    "h": 106.8
  },
  "luminance": 0.82686
}

Semantic roles & 50–950 ramp

primary
#F2EF92
secondary
#595DCF
accent
#11DB0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2EF92

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

Preview Lab → · Contrast checker → · Palette generator →

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