#F2F191#F2F191

#F2F191 is a very light, moderate yellow. Relative luminance 0.838; OKLCH L 93.8% C 0.118 H 108.0°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#F2F191
RGBrgb(242, 241, 145)
HSLhsl(59, 79%, 76%)
HSVhsv(59, 40%, 95%)
CMYKcmyk(0%, 0.4%, 40.1%, 5.1%)
CIE-LABlab(93.38, -13.18, 46.42)
CIE-LCHlch(93.38, 48.25, 105.85°)
OKLaboklab(93.83% -0.0365 0.1126)
OKLCHoklch(93.83% 0.118 108)
XYZxyz(73.1852, 83.8337, 39.1088)
Luminance0.8383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F191 #9192F2
analogous
#F2C091 #F2F191 #C2F291
triadic
#F2F191 #91F2F1 #F191F2
tetradic
#F2F191 #91F2C0 #9192F2 #F291C2
square
#F2F191 #91F2C0 #9192F2 #F291C2
split-complementary
#F2F191 #91C2F2 #C091F2
monochromatic
#E5E324 #ECEA5A #F2F191 #F8F8C8 #FCFCE4

Accessibility & contrast

On white

1.18
#F2F191 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#F2F191 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F191
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F191#FFFFFF#000000##000000
##F2F1911.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA89
Deuteranopia (green-blind)
#FFEE95
Tritanopia (blue-blind)
#FFE6DA
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2f191;
/* rgb */ color: rgb(242, 241, 145);
/* oklch */ color: oklch(93.8% 0.118 108.0);
Tailwind
colors: {
  custom: {
    50: '#f8f5b2',
    500: '#f2f191',
    950: '#000000',
  },
}
SCSS
$custom: #f2f191;
$custom-light: #f8f5b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f191",
  "rgb": {
    "r": 242,
    "g": 241,
    "b": 145
  },
  "hsl": {
    "h": 59.381,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.93831,
    "c": 0.11839,
    "h": 108
  },
  "luminance": 0.83832
}

Semantic roles & 50–950 ramp

primary
#F2F191
secondary
#585ACF
accent
#0DDB0A
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2F191

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

Preview Lab → · Contrast checker → · Palette generator →

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