#F2F160#F2F160

#F2F160 is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.2% C 0.164 H 108.8°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#F2F160
RGBrgb(242, 241, 96)
HSLhsl(60, 85%, 66%)
HSVhsv(60, 60%, 95%)
CMYKcmyk(0%, 0.4%, 60.3%, 5.1%)
CIE-LABlab(92.85, -17.26, 68.02)
CIE-LCHlch(92.85, 70.18, 104.24°)
OKLaboklab(93.24% -0.0529 0.1552)
OKLCHoklch(93.24% 0.164 108.8)
XYZxyz(70.1867, 82.6343, 23.3169)
Luminance0.8263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F160 #6061F2
analogous
#F2A860 #F2F160 #AAF260
triadic
#F2F160 #60F2F1 #F160F2
tetradic
#F2F160 #60F2A8 #6061F2 #F260AA
square
#F2F160 #60F2A8 #6061F2 #F260AA
split-complementary
#F2F160 #60AAF2 #A860F2
monochromatic
#C7C610 #EDEC27 #F2F160 #F7F699 #FBFBD1

Accessibility & contrast

On white

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

On black

17.53
#F2F160 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F160
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F160#FFFFFF#000000##000000
##F2F1601.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE84F
Deuteranopia (green-blind)
#FFED69
Tritanopia (blue-blind)
#FFE3D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f160;
/* rgb */ color: rgb(242, 241, 96);
/* oklch */ color: oklch(93.2% 0.164 108.8);
Tailwind
colors: {
  custom: {
    50: '#f9f593',
    500: '#f2f160',
    950: '#000000',
  },
}
SCSS
$custom: #f2f160;
$custom-light: #f9f593;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f160",
  "rgb": {
    "r": 242,
    "g": 241,
    "b": 96
  },
  "hsl": {
    "h": 59.589,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.93244,
    "c": 0.16396,
    "h": 108.8
  },
  "luminance": 0.82632
}

Semantic roles & 50–950 ramp

primary
#F2F160
secondary
#3233C4
accent
#06E104
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F160

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

Preview Lab → · Contrast checker → · Palette generator →

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