#F2F164#F2F164

#F2F164 is a very light, vivid yellow. Relative luminance 0.827; OKLCH L 93.3% C 0.161 H 108.8°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#F2F164
RGBrgb(242, 241, 100)
HSLhsl(60, 85%, 67%)
HSVhsv(60, 59%, 95%)
CMYKcmyk(0%, 0.4%, 58.7%, 5.1%)
CIE-LABlab(92.89, -17.00, 66.40)
CIE-LCHlch(92.89, 68.55, 104.36°)
OKLaboklab(93.28% -0.0517 0.1523)
OKLCHoklch(93.28% 0.161 108.8)
XYZxyz(70.3756, 82.7099, 24.3116)
Luminance0.8271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F164 #6465F2
analogous
#F2AA64 #F2F164 #ACF264
triadic
#F2F164 #64F2F1 #F164F2
tetradic
#F2F164 #64F2AA #6465F2 #F264AC
square
#F2F164 #64F2AA #6465F2 #F264AC
split-complementary
#F2F164 #64ACF2 #AA64F2
monochromatic
#CBC911 #EDEC2C #F2F164 #F7F69C #FBFBD5

Accessibility & contrast

On white

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

On black

17.54
#F2F164 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F164
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F164#FFFFFF#000000##000000
##F2F1641.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE854
Deuteranopia (green-blind)
#FFED6C
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2f164;
/* rgb */ color: rgb(242, 241, 100);
/* oklch */ color: oklch(93.3% 0.161 108.8);
Tailwind
colors: {
  custom: {
    50: '#f9f595',
    500: '#f2f164',
    950: '#000000',
  },
}
SCSS
$custom: #f2f164;
$custom-light: #f9f595;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f164",
  "rgb": {
    "r": 242,
    "g": 241,
    "b": 100
  },
  "hsl": {
    "h": 59.577,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.93281,
    "c": 0.16083,
    "h": 108.8
  },
  "luminance": 0.82708
}

Semantic roles & 50–950 ramp

primary
#F2F164
secondary
#3334C7
accent
#06E105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F164

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

Preview Lab → · Contrast checker → · Palette generator →

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