#F2EF94#F2EF94

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

Color values

HEX#F2EF94
RGBrgb(242, 239, 148)
HSLhsl(58, 78%, 76%)
HSVhsv(58, 39%, 95%)
CMYKcmyk(0%, 1.2%, 38.8%, 5.1%)
CIE-LABlab(92.90, -11.88, 44.35)
CIE-LCHlch(92.90, 45.91, 104.99°)
OKLaboklab(93.47% -0.0325 0.1081)
OKLCHoklch(93.47% 0.113 106.8)
XYZxyz(72.8308, 82.7500, 40.1470)
Luminance0.8275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF94 #9497F2
analogous
#F2C094 #F2EF94 #C6F294
triadic
#F2EF94 #94F2EF #EF94F2
tetradic
#F2EF94 #94F2C0 #9497F2 #F294C6
square
#F2EF94 #94F2C0 #9497F2 #F294C6
split-complementary
#F2EF94 #94C6F2 #C094F2
monochromatic
#E5DF27 #EBE75D #F2EF94 #F9F7CB #FCFBE4

Accessibility & contrast

On white

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

On black

17.55
#F2EF94 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF94
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF94#FFFFFF#000000##000000
##F2EF941.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE88D
Deuteranopia (green-blind)
#FFED98
Tritanopia (blue-blind)
#FFE4D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2ef94;
/* rgb */ color: rgb(242, 239, 148);
/* oklch */ color: oklch(93.5% 0.113 106.8);
Tailwind
colors: {
  custom: {
    50: '#f8f4b4',
    500: '#f2ef94',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef94;
$custom-light: #f8f4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef94",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 148
  },
  "hsl": {
    "h": 58.085,
    "s": 78.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.93468,
    "c": 0.11289,
    "h": 106.8
  },
  "luminance": 0.82748
}

Semantic roles & 50–950 ramp

primary
#F2EF94
secondary
#5B5FCF
accent
#12DB0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2EF94

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

Preview Lab → · Contrast checker → · Palette generator →

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