#F2EF95#F2EF95

#F2EF95 is a very light, moderate yellow. Relative luminance 0.828; OKLCH L 93.5% C 0.112 H 106.7°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#F2EF95
RGBrgb(242, 239, 149)
HSLhsl(58, 78%, 77%)
HSVhsv(58, 38%, 95%)
CMYKcmyk(0%, 1.2%, 38.4%, 5.1%)
CIE-LABlab(92.92, -11.77, 43.88)
CIE-LCHlch(92.92, 45.43, 105.02°)
OKLaboklab(93.48% -0.0322 0.1071)
OKLCHoklch(93.48% 0.112 106.7)
XYZxyz(72.9103, 82.7818, 40.5656)
Luminance0.8278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF95 #9598F2
analogous
#F2C195 #F2EF95 #C7F295
triadic
#F2EF95 #95F2EF #EF95F2
tetradic
#F2EF95 #95F2C1 #9598F2 #F295C7
square
#F2EF95 #95F2C1 #9598F2 #F295C7
split-complementary
#F2EF95 #95C7F2 #C195F2
monochromatic
#E5DF28 #EBE75E #F2EF95 #F9F7CC #FCFBE4

Accessibility & contrast

On white

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

On black

17.56
#F2EF95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF95
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF95#FFFFFF#000000##000000
##F2EF951.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE88E
Deuteranopia (green-blind)
#FFED99
Tritanopia (blue-blind)
#FEE4D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2ef95;
/* rgb */ color: rgb(242, 239, 149);
/* oklch */ color: oklch(93.5% 0.112 106.7);
Tailwind
colors: {
  custom: {
    50: '#f8f4b5',
    500: '#f2ef95',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef95;
$custom-light: #f8f4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef95",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 149
  },
  "hsl": {
    "h": 58.065,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.93484,
    "c": 0.1118,
    "h": 106.7
  },
  "luminance": 0.8278
}

Semantic roles & 50–950 ramp

primary
#F2EF95
secondary
#5C60CF
accent
#12DA0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2EF95

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

Preview Lab → · Contrast checker → · Palette generator →

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