#F2F394#F2F394

#F2F394 is a very light, moderate yellow. Relative luminance 0.851; OKLCH L 94.3% C 0.117 H 109.0°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#F2F394
RGBrgb(242, 243, 148)
HSLhsl(61, 80%, 77%)
HSVhsv(61, 39%, 95%)
CMYKcmyk(0.4%, 0%, 39.1%, 4.7%)
CIE-LABlab(93.93, -13.85, 45.66)
CIE-LCHlch(93.93, 47.71, 106.87°)
OKLaboklab(94.29% -0.0382 0.1111)
OKLCHoklch(94.29% 0.117 109)
XYZxyz(74.0149, 85.1180, 40.5417)
Luminance0.8512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F394 #9594F3
analogous
#F3C594 #F2F394 #C3F394
triadic
#F2F394 #94F2F3 #F394F2
tetradic
#F2F394 #94F3C5 #9594F3 #F394C3
square
#F2F394 #94F3C5 #9594F3 #F394C3
split-complementary
#F2F394 #94C3F3 #C594F3
monochromatic
#E5E726 #EBED5D #F2F394 #F9F9CB #FCFCE3

Accessibility & contrast

On white

1.17
#F2F394 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#F2F394 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F394
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F394#FFFFFF#000000##000000
##F2F3941.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8D
Deuteranopia (green-blind)
#FFEF98
Tritanopia (blue-blind)
#FEE8DC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f394;
/* rgb */ color: rgb(242, 243, 148);
/* oklch */ color: oklch(94.3% 0.117 109.0);
Tailwind
colors: {
  custom: {
    50: '#f8f7b5',
    500: '#f2f394',
    950: '#000000',
  },
}
SCSS
$custom: #f2f394;
$custom-light: #f8f7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f394",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 148
  },
  "hsl": {
    "h": 60.632,
    "s": 79.832,
    "l": 76.667
  },
  "oklch": {
    "l": 0.94286,
    "c": 0.11746,
    "h": 109
  },
  "luminance": 0.85117
}

Semantic roles & 50–950 ramp

primary
#F2F394
secondary
#5C5BD1
accent
#09DC0C
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2F394

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

Preview Lab → · Contrast checker → · Palette generator →

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